Last modified: 2006-05-26 19:16:00 UTC
An user has uploaded the image [[de:Image:Fussel+Socke.jpg]] without knowing
that + is the urlencode for spaces. So this image is not accessible for bots and
May someone fix the image name and put some preventer in the MediaWiki code please?
This should work fine with bots and IE. Can you provide a more
detailed description of the problem?
I can not see the image when I click on
In Firefox all things are normal.
I requested the preventer because the + char is normally the URLENCODEd char for
" "s and so it is possible (especially for mirrors!) that there can problems result.
This URL works just fine in IE 6.0 / Win98 and IE 7beta2 / WinXP.
1) + has no special meaning in URL path components.
2) %2b is used for encoding the + in any case.
for 1): try in PHP5 the line <? echo urldecode("Fussel+Socke.jpg"); ?>; it will
echo "Fussel Socke.jpg".
for 2): try in PHP5 the line <? echo urldecode("Fussel%2BSocke.jpg"); ?>; it
will echo "Fussel Socke.jpg".
(note: I tested on Windows XP SP1, maybe that PHP behaves different, then bug is
The statement above is false: your second code fragment in fact
outputs "Fussel+Socke.jpg", as expected.
Ah, I think I know the reason:
It is the file encoding. When it is UTF-8, then the PHP snipps will act as I
told. When it is other charset (yeah, Turkish also works), it acts as you've told.