https://bugzilla.wikimedia.org/show_bug.cgi?id=24022

--- Comment #2 from Bryan Tong Minh <bryan.tongm...@gmail.com> 2010-06-18 
13:57:04 UTC ---
(In reply to comment #1)
> We could easily fix this by exposing wgStrictFileExtensions on the upload 
> page,
> but that doesn't seem like a good idea to me. Someone might go around looking
> for mediawiki sites where he can upload arbitrary files.
> 
I don't think it is that much of a problem; you could also try it out by
uploading a file.

> Wouldn't it be best if we retooled all this into a single ajax call ?
> 
> one that checks for:
> -name exists
> -name allowed (file extensions checks)
> -name normalization (think $wgCapitalizedNamespaces)

If somebody would implement that, yes, that would be ideal. But for now
exposing wgStrictFileExtensions could be used as quick fix.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to