Open teebling opened 3 years ago
Update: I believe it's semi-related to this issue https://www.phpbb.com/community/viewtopic.php?t=2107950 albeit in the 3.3 codebase (not 3.0) where phpBB doesn't recognise the virtual folder.
In the meantime I've made a very hacky fix with jQuery that changes the redirect hidden field to {FORUM_NAME} after passing it through .toLowerCase(), and this does the job for now.
@Dark1z
Describe the bug :
When you're on a viewforum page that has been rewritten by this ext, for example if you're in
/off-topic/
instead of/viewforum.php?f=2
, and you then click any link or submit any form to log in, the redirection after the successful login fails because it produces a URL that looks like this:/viewforum.php/off-topic/?forum_uri=off-topic&start=&sid=...
The culprit is the 'viewforum.php' script name. If this were removed somehow then this bug would be fixed.
To Reproduce :
Steps to reproduce the behavior:
/off-topic
or/general-discussion
viewforum.php
scriptname in the URL that is generated.Expected behavior :
What should happen is that you are redirected to
/off-topic/?forum_uri=off-topic&start=&sid=...
, NOT/viewforum.php/off-topic/?forum_uri=off-topic&start=&sid=...
.Any chance we could get a quick find & replace fix for this?