diff options
author | David Ward <david.ward@gatech.edu> | 2010-03-07 10:00:15 -0700 |
---|---|---|
committer | David Ward <david.ward@gatech.edu> | 2010-03-07 13:56:24 -0500 |
commit | 865123ffda92eeaba487f4e45342e1d8ef18fa6f (patch) | |
tree | 2a88766041fa0d413768a9ec7e09446b4cfce985 /phpBB/includes/acm/acm_memcache.php | |
parent | 568fb83373361abb8c9f3886fee944a8d9e5f66d (diff) | |
download | forums-865123ffda92eeaba487f4e45342e1d8ef18fa6f.tar forums-865123ffda92eeaba487f4e45342e1d8ef18fa6f.tar.gz forums-865123ffda92eeaba487f4e45342e1d8ef18fa6f.tar.bz2 forums-865123ffda92eeaba487f4e45342e1d8ef18fa6f.tar.xz forums-865123ffda92eeaba487f4e45342e1d8ef18fa6f.zip |
[bug/58755] Fix a redirection bug that can occur after login
This issue affects any forum (i.e. https://myforum/phpBB3/) where:
- the forum is located in a directory underneath the web root (i.e., NOT https://myforum/)
- a user accesses the forum with a URI pointing to a directory rather than a script (i.e., NOT https://myforum/phpBB3/index.php)
- the URI used ends in a slash (i.e., NOT https://myforum/phpBB3)
If these conditions are met, after successful login the user is redirected to an invalid URI (i.e., https://myforum/phpBB3/phpBB3?sid=).
This change fixes extract_current_page() to handle the case correctly where the URI ends in a slash and is not the web root. So after successful login, the redirection back to the main page will work (i.e., https://myforum/phpBB3/?sid=)
Diffstat (limited to 'phpBB/includes/acm/acm_memcache.php')
0 files changed, 0 insertions, 0 deletions