diff options
author | ftc2 <ftc2@users.noreply.github.com> | 2017-10-01 22:57:21 -0600 |
---|---|---|
committer | ftc2 <ftc2@users.noreply.github.com> | 2017-10-01 22:57:21 -0600 |
commit | 8f97887683581555187caf6bfe4d1f21c5780341 (patch) | |
tree | 07d83a5c1ade6d82d77286517186dc49c47c7767 /phpBB/phpbb/install/helper/iohandler/ajax_iohandler.php | |
parent | fc3d3a83db3357f3275c72ff7b3607666c6307a3 (diff) | |
download | forums-8f97887683581555187caf6bfe4d1f21c5780341.tar forums-8f97887683581555187caf6bfe4d1f21c5780341.tar.gz forums-8f97887683581555187caf6bfe4d1f21c5780341.tar.bz2 forums-8f97887683581555187caf6bfe4d1f21c5780341.tar.xz forums-8f97887683581555187caf6bfe4d1f21c5780341.zip |
[ticket/15385] nginx.sample.conf: www redirection, security regex
according to the latest wiki info:
http://wiki.nginx.org/Pitfalls#Taxing_Rewrites
`return 301` is preferred over a rewrite.
also, the 'security' regex breaks some official extensions because it
will match and deny access to `/ext/phpbb`.
looking through the names of dirs and files containing `phpbb`, it
looks like the intent of the regex was to only disallow the folder
`phpbb` in the root dir and not other `/phpbb` matches.
a negative lookbehind was added to specifically not match `/ext/phpbb`
but still match other occurrences of `/phpbb`.
Tracker ticket: https://tracker.phpbb.com/browse/PHPBB3-15385
Diffstat (limited to 'phpBB/phpbb/install/helper/iohandler/ajax_iohandler.php')
0 files changed, 0 insertions, 0 deletions