t3lib_div::getIndpEnv('REQUEST_URI') does not return fragment/hash of url
As written in the comment in the function getIndpEnv, this function does not handle the fragment (the text after # in the url) which is not good if you really need that part of a url. Of course there are workarounds but still, this IS a bug and should be fixed.
I for example need this to trigger a jQuery function and for that i need that hash after a redirect with the loginbox
#1 Updated by Simon Schaufelberger almost 9 years ago
this is the way how it will work:
#2 Updated by Simon Schaufelberger almost 9 years ago
The Fragment is never sent to the server. So, this might be impossible unless you use AJAX to change the page after the fact.
ok, so this will not work. :(
It is acuatally not a php but a browser bug, see: https://bugs.php.net/bug.php?id=25804