summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Utils/Config
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2016-06-08 10:03:22 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2016-06-08 10:03:22 +0200
commit636aa66eb2384ce98c17aeb27d258dfd6958f7a9 (patch)
tree0c09a1ef6c19068bab33b59d80c19ed6b6eccad4 /lib/SimpleSAML/Utils/Config
parent07840369675cba5f99f68243afd8a326be189c17 (diff)
downloadsimplesamlphp-636aa66eb2384ce98c17aeb27d258dfd6958f7a9.zip
simplesamlphp-636aa66eb2384ce98c17aeb27d258dfd6958f7a9.tar.gz
simplesamlphp-636aa66eb2384ce98c17aeb27d258dfd6958f7a9.tar.bz2
Change the implementation of SimpleSAML\Utils\HTTP::getSelfURL() and getSelfURLNoQuery() to honor the 'baseurlpath' configuration option instead of simply using the environment. They were actually broken since they were using it to build the scheme, host and port, but completely ignoring the path, rendering wrong URLs in between what was configured in 'baseurlpath' and the real information in the environment. This resolves #396, but also affects #5. The changes to getSelfURLNoQuery() in #391 are unnecessary now, since we now basically getting the full URL and remove the query afterwards.
Diffstat (limited to 'lib/SimpleSAML/Utils/Config')
0 files changed, 0 insertions, 0 deletions