#19066(tx_cms_showpic) don't send HTTP 200OK header when file was not found
Description
Problem:
When a file is no longer available tx_cms_showpic/showpic.php sends a HTTP 200OK header containing “The given file was not found” as message body. Therefore search spiders keep indexed the missing file e.g. http://www.google.com/search?hl=en&q=tx_cms_showpic+%22The+given+file+was+not+found%22&sa=N&filter=0 .
Cause:
The message is sent by a die()-function call without a proper HTTP 404 header.
Solution:
Just insert a header(“HTTP/1.0 404 Not Found”); function call before the die()-function call.
(issue imported from #M8908)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.