| |
Gargaj
Registered: May 2003 Posts: 12 |
Redirection bug?
When opening a link like http://noname.c64.org/csdb/release/download.php?id=2577 I get a "page isn't redirecting properly" error.
Upon further investigation this is what I found:
gargaj@dinnye ~ $ curl -I http://noname.c64.org/csdb/release/download.php?id=2577
HTTP/1.1 303 See Other
Date: Mon, 04 Jul 2016 09:54:17 GMT
Server: Apache/2.2.26 (FreeBSD) PHP/5.4.25 mod_ssl/2.2.26 OpenSSL/0.9.8q DAV/2
X-Powered-By: PHP/5.4.25
Location:
Content-Type: text/html
(Note the empty "Location" field)
Would it be possible to get an actual HTTP error (e.g. "410 Gone") in case the redirect URL is missing? |
|
| |
Perff Administrator
Posts: 1679 |
Thanks for the idea.
The 410 error code is now implemented.
Never thought it would be nessesary, as all links found on CSDb should always exists.
Where did you find the link in question? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11384 |
direct deep-links from other site (aka pouet)? |
| |
Gargaj
Registered: May 2003 Posts: 12 |
Quoting PerffNever thought it would be nessesary, as all links found on CSDb should always exists.
Where did you find the link in question?
I have a ton of these links to be honest: http://cardboard.pouet.net/broken_links.php?protocol=http&code=.. |