Project

General

Profile

Actions

Bug #17227

closed

Shortcut to external URL if referer-check enabled

Added by Stefan Neufeind over 17 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2007-04-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #16547: Link to external URL page doesn't forwardClosed2006-12-13

Actions
Related to TYPO3 Core - Bug #19223: Redirect type does not redirect when HTTP referrer is an external siteRejected2008-08-15

Actions
Actions

Also available in: Atom PDF