Project

General

Profile

Actions

Bug #19223

closed

Redirect type does not redirect when HTTP referrer is an external site

Added by Kevin L over 15 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2008-08-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Needs Decision

Description

This is essentially a copy of bug 6615, which has been marked as resolved because it's not related to RealURL.

When navigating to page of type External URL, Typo3 renders the page content of the page (empty), instead of redirecting to the external URL - but only when navigating from an external URL (referrer).

Example:
http://www.uniweb.no/domene/registrere-domene/ [^]
The URL above is page type External URL with redirect to http://ordre.uniweb.no/domreg/searchDialogue.action [^]

This will, however, only work if you navigate to this from a page on http://www.uniweb.no, [^] of more precisely, if the referrer is a page/subpage on http://www.uniweb.no. [^]

If there is no referrer/external referrer, Typo3 will render the content of the page.

Here's a workaround using Apache configuration. Adapt the regex to your particular needs. This one does "/firstname.lastname/" for me.

you must enable mod_headers and mod_setenvif.

SetEnvIf Request_URI "^/[\w\-]+.[\w\-]+/?$" typo3bug6615=true
RequestHeader unset referer env=typo3bug6615
(issue imported from #M9182)


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17227: Shortcut to external URL if referer-check enabledRejected2007-04-21

Actions
Actions

Also available in: Atom PDF