Bug #64437

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

Added by Jost Baron almost 6 years ago. Updated about 3 years ago.

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


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 View (51.7 KB) Jost Baron, 2015-01-22 17:13

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


#1 Updated by Jost Baron almost 6 years ago

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

#2 Updated by Mathias Schreiber almost 6 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.

#3 Updated by Jost Baron almost 6 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.

#4 Updated by Samuel Talleux over 5 years ago


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



#5 Updated by Benni Mack over 5 years ago

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

#6 Updated by Benni Mack over 5 years ago

  • Status changed from New to Resolved

This should be fixed in the next version!

#7 Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF