joyqi 6997bb1b8e fixed issue #129
根据实验,在某些web服务器上,对`urlencode`也就是RFC 3986的标准解释不同,它们将unicode字符转义为以百分号开头的小写字符,而php中则默认为大写字符。比如“你好”在php中被转义为`%E4%BD%A0%E5%A5%BD`而在某些服务器上被转义为`%e4%bd%a0%e5%a5%bd`。
这导致`Widget_Archive`中的`checkPermalink`函数将它们识别为不同的路径,从而循环重定向。

解决方法:在`checkPermalink`函数中直接比较`urldecode`以后的`path`
2013-12-16 09:39:25 +08:00
2013-12-13 15:32:56 +08:00
2013-12-13 12:29:26 +08:00
2013-12-16 09:39:25 +08:00
2013-12-13 10:51:03 +08:00
2013-07-17 13:13:57 +08:00
2013-07-17 13:13:57 +08:00
2013-12-13 15:32:56 +08:00
2013-12-06 09:20:02 +08:00
2013-12-13 12:36:01 +08:00
2013-07-25 13:21:49 +08:00

Typecho Blogging Platform

####Homepage http://typecho.org/

####Document http://docs.typecho.org/

####Forum http://forum.typecho.org/

####Download http://typecho.org/download

Description
No description provided
Readme 38 MiB
Languages
PHP 73%
JavaScript 23%
SCSS 2.7%
CSS 1%
Dockerfile 0.2%
Other 0.1%