Open rodarima opened 3 days ago
Reproducer:
<img src="http://hackaday.com/wp-content/uploads/2011/11/pic.jpg">
The image returns a 301 redirect:
GET /wp-content/uploads/2011/11/pic.jpg HTTP/1.1
Host: hackaday.com
User-Agent: Dillo/3.1.1
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Referer: http://hackaday.com/
Connection: keep-alive
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 19 Nov 2024 19:42:16 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://hackaday.com/wp-content/uploads/2011/11/pic.jpg
cache-control: max-age=31536000
x-rq: mad1
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
Dillo seems to ignore redirects on non-root requests like images:
Also:
This predates the git history (2007), so I don't know the context at which this was done. It looks simply unfinished.
Loading the website causes the images not to display. But following a link and then going back causes the images to properly load.
Reported-by: Flea86