Bug #17227
closedShortcut to external URL if referer-check enabled
0%
Description
Setup a tree with:
- somepage
( having domain-records for
www.example.com
www.example2.com)
-- someredirpage (shortcut to external URL)
set config.baseURL=http://www.example.com/index.php in setup on somepage
Try1:
Now open http://www.example.com/, klick a link that takes you to someredirpage. Works!
Try2:
Now open http://www.example2.com/, klick a link that takes you to someredirpage. Because of baseURL now that link changes to www.example.com. The page "someredirpage" is opened. However the shortcut is not followed but the content of this "page" is displayed. (Which in most cases might either be empty or might contain some testing-garbage.)
This problem is reproducable here. If I use TamperData (firefox-extension) to remove or alter the referer of my request for http://www.example.com/someredirpage.html, then that Shortcut is correctly delivered to the browser. If that referer is something in www.example.com (first click to another page, then to someredirpage) then it also works fine. Seems to be dependent on the referer.
Workaround: Set "doNotCheckReferer" in installation-tool.
Also same behaviour with 4.1.1 (final).
(issue imported from #M5470)