-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alejandro Exojo wrote:
Yesterday I uploaded an image and, unfortunately, I
named
it "Holsten_Lemon+.jpg". I completely forgot that '+' is a special
character
in URLs.
'+' has been allowed in titles in the wiki since 1.8 (or earlier if you
add it explicitly to $wgLegalTitleChars); as long as it's properly
encoded everything works fine, just as it does for '&' and '?'.
It looks to me like you've got some bogus URL rewriting going on which
is stripping the encoded '+'s (%2b), leaving them to be interpreted as
spaces.
You should check if you have the same problem with ampersands or
question marks (depending on how you do the rewrite).
First: What should I do? I prefer to delete the file
and upload it with a
proper name, but I don't know how to do it. If I delete the file in the
server, I suppose that some tables of the database have to be fixed, but I
don't know which ones.
DELETE FROM image WHERE img_name='Holsten_Lemon+.jpg';
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGGkqnwRnhpk1wk44RAl+jAJ9sMgrc6Kg078lb/7L7OJNfY0iooACfWKoF
b91bTvV4SHTbXVzHVFF8sIU=
=FFTh
-----END PGP SIGNATURE-----