20 Commits

Author SHA1 Message Date
Lu Fei
fbc7696ae8 Use json instead of serialize (#1624)
* Use json instead of serialize

* Fix Upgrade code

* add tree trait

* finish category tree trait

* support select fields

* fix select fields

* refactor admin trait

* fix draft status

* Add new contents type "revision"

* minor refactor

* add more tree view abstracts

* add tree trait to pages

* get ready for tree view pages

* improve page edit

* fix revision

* fix slug

* add router params delegate

* fix params delegate

* fix

* fix

* fix all

* fix all

* fix tree

* fix page link

* fix feed

* fix page

* fix permalink

* fix permalink input

* fix offset query

* Fix typo

* remove proxy methods

* remove unnecessary useage

---------

Co-authored-by: joyqi <joyqi@segmentfault.com>
Co-authored-by: joyqi <magike.net@gmail.com>
2023-12-06 15:52:19 +08:00
joyqi
4c8c64c79e Feat/code refactor (#1626)
* remove all magic methods, add type for class properties

* refactor codes

* fix all

* refactor code

* fix type

* fix all

* fix request is method

* fix all

* fix router

* fix get page
2023-09-24 16:21:32 +08:00
joyqi
98e4c1d16d fix url validate 2023-05-15 21:44:12 +08:00
joyqi
7a41f0d013 fix email validate 2023-05-15 19:55:36 +08:00
Patrick SAMA
83d4d020ed Fix an XSS vulnerability in v1.2.1-rc (#1561)
* fix #1560

* Update var/Typecho/Validate.php

Co-authored-by: 沈唁 <52o@qq52o.cn>

---------

Co-authored-by: joyqi <joyqi@users.noreply.github.com>
Co-authored-by: 沈唁 <52o@qq52o.cn>
2023-05-15 18:29:47 +08:00
joyqi
1b673e06ff fix typecho/Dockerfile#9 2022-03-22 14:24:14 +08:00
沈唁
b0d78a81dc Fix #1326 (#1327) 2022-02-21 21:51:13 +08:00
joyqi
38184ba5ba fix pgsql 2021-08-24 02:04:55 +08:00
joyqi
0e4391006c Still working on namespace 2021-08-21 21:22:43 +08:00
joyqi
4b97110087 fix stack 2021-08-18 22:55:32 +08:00
joyqi
44aef6c707 reformat code 2021-08-18 18:41:39 +08:00
joyqi
2731e34db0 fix install 2021-08-17 18:36:54 +08:00
joyqi
0d4299d99e update install 2021-08-17 01:53:47 +08:00
Bestony
2a8b11f48b fix: Support plus in email address
fix: add support in email address (just like example+typecho@gmail.com)
2018-09-06 10:54:42 +08:00
祁宁
308c1beb16 修正撰写文章添加标签时可能出现的非法字符
修正cookie对数组的过滤不严
2014-03-14 15:09:34 +08:00
祁宁
f7cb1a1d49 修正电子邮箱过滤不严可能造成的xss 2014-03-12 11:29:54 +08:00
joyqi
c056ba70fa fix #188
去掉所有不必要的require_once
2014-02-12 17:51:47 +08:00
joyqi
ee73a638ba fixed #142
尼玛,写反了。。。
2013-12-21 09:58:26 +08:00
joyqi
6db990f7a4 修正validate 2013-12-06 20:42:25 +08:00
joyqi
55379c90df 初始化
修改了上一个版本的一些错误,第一次提交
2013-07-17 13:13:57 +08:00