Bug #64437

Pages with type "external link" don't redirect if requested via google search result

Added by Jost Baron over 7 years ago. Updated over 4 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


On one of my sites, the URL /support.html should redirect to an external URL.

This works fine when the URL is manually entered or clicked in a menu.

However, when the same URL is opened from a google search result, it no redirect occurs. Instead, the page is shown as if it was a normal page.

I've logged the HTTP headers for both requests (also attached as screenshots), and there seems to be little difference:

1. The "bad" request has two additional headers: referer and max-age.
2. For the "bad" request, cache control headers are added, these are not returned for the "good" request.

I can't find the logic where the redirecting between the page types is done in the core. If someone points me to the place, I'll take a look.


good-request.png (51.7 KB) good-request.png Jost Baron, 2015-01-22 17:13
bad-request.png (65.8 KB) bad-request.png Jost Baron, 2015-01-22 17:13

Updated by Jost Baron over 7 years ago

How do I edit my issue? Forgot to use the preview...


Updated by Mathias Schreiber over 7 years ago

  • Target version set to 7.2 (Frontend)

Hi Jost,

I'm not entirely sure if you can edit your issue.
Normally you click the "Update" link and then need to scroll up to see the little link next to "Description".

If that should not work, just tell me in the comments - I'll update the original issue, then.


Updated by Jost Baron over 7 years ago

I don't have that link next to "Description", so apparently can't update the description.

Anyway, I have found the reason for the behavior described above: It's the referer checking mechanism of TYPO3, which can be disabled by setting SYS/doNotCheckReferer = 1 in the install tool. I still suspect this is a bug, because the check is meant for CSRF-Protection, which probably isn't a problem when redirecting to an external link.


Updated by Samuel Talleux about 7 years ago


i'd like to know if this will be considered as a bug, what i think, and if it will be fixed.




Updated by Benni Mack about 7 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)

Updated by Benni Mack almost 7 years ago

  • Status changed from New to Resolved

This should be fixed in the next version!


Updated by Riccardo De Contardi over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF