Issue Bug Closed

#85411Invalid usage of 401 header

Markus Klein 06/27/18, 18:48 updated 10/02/18, 10:44

Description

The 401 header is used within the TYPO3 core in some usages but lacks a proper accompanying “www-authenticate” header, which is required. [1]

A 401 header is only useful in conjunction with an assigned http authschema [2].
One usage in core even sends an invalid www-authenticate header.

Replace all those 401 headers with a 403 header.

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
2 http://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml

Reviews 2