浏览代码

Document $php_self_pattern and $php_self_replacement

pdontthink 5 年之前
父节点
当前提交
d69d7e728d
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      doc/ChangeLog

+ 8 - 0
doc/ChangeLog

@@ -431,6 +431,14 @@ Version 1.5.2 - SVN
     (see notes in config/config_local.example.php for more details)
   - Added handling for RCDATA and RAWTEXT elements in HTML sanitizer
     [CVE-2019-12970]
+  - Added the ability to modify of the value of the global $PHP_SELF
+    variable used throughout the SquirrelMail code (though less so
+    in version 1.5.2).  The administrator may do so by adding the
+    configuration settings $php_self_pattern and $php_self_replacement
+    to config/config_local.php, where the pattern should be a full
+    regular expression including the delimiters. This may be helpful
+    when the web server sees traffic from a proxy so the normal
+    $PHP_SELF does not resolve to what it should be for the real client.
 
 Version 1.5.1 (branched on 2006-02-12)
 --------------------------------------