You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long story:
I was creating a little archive of clonk.de using wget -k --wait=3 -e robots=off -r http://clonk.de/.
Upon encountering the php files with search parameters, wget saved the files with a ? in the file name and converted the ? in the links to their hex escape %3F. This causes things like gallery.php?img=battle.png to have a file name that may make the file look like an image.
fixes#4543, may break other things
IMO, this is the best way to do this (for now, until we start manually storing
the content type along with the files). I'd rather not guess at all but we can
at least avoid guessing by filename.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
fixes#4543, may break other things
IMO, this is the best way to do this (for now, until we start manually storing
the content type along with the files). I'd rather not guess at all but we can
at least avoid guessing by filename.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
Version information:
(also happens with gateway.ipfs.io)
Type: Bug
Severity: Medium
Description:
In short:
For this URL ending in .png the http gateway wrongfully returns a
Content-Type: image/png
header.Long story:
I was creating a little archive of clonk.de using
wget -k --wait=3 -e robots=off -r http://clonk.de/
.Upon encountering the php files with search parameters, wget saved the files with a ? in the file name and converted the ? in the links to their hex escape %3F. This causes things like gallery.php?img=battle.png to have a file name that may make the file look like an image.
See also: #2164 and ipfs/notes#222
The text was updated successfully, but these errors were encountered: