Issue Bug Closed

#86355Target field in redirects record can contain typolink syntax but this is not processed before redirecting

Jigal van Hemert 09/22/18, 22:46 updated 10/02/18, 10:28

Description

The target field in a redirects record can contain more than a simple URL (either external or t3:// syntax). In fact it may contain a complete typolink syntax with space separated urn, class, target and title. If there is a t3:// syntax this will be processed and the other parts are ignored. In case of an external URL there is no further processing and a redirect to something like

http://example.org – - “Example Title”

may be executed. At least in Firefox this can lead to an error

Corrupted Content Error

The site at http://demo9.ddev.local/nu/ has experienced a network protocol violation that cannot be repaired.

The page you are trying to view cannot be shown because an error in the data transmission was detected.

    Please contact the website owners to inform them of this problem.

Response headers:
HTTP/1.1 301 Moved Permanently
Server: nginx/1.13.6
Date: Sat, 22 Sep 2018 20:39:59 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Expires: 0
Last-Modified: Sat, 22 Sep 2018 20:39:58 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
X-Redirect-By: TYPO3
location: http://nu.nl – - “Example Title”

Reviews 1