On Thu, Mar 26, 2015 at 3:00 PM, Chris Steipp <[email protected]> wrote:
> That's the xml namespace of an element, which we whitelist since a number
> of namespaces introduce way to execute javascript.
>
> You can add it to the list in UploadBase.php, and feel free to push the
> change back up and I'll add it if it looks sane.
>
Thanks Chris,

I added it to the line:

'http://sozi.baierouge.fr',

at the end of the $validNamespaces array in UploadBase.php but now I receive:

"This file contains HTML or script code that may be erroneously
interpreted by a web browser."

grepping for that error in the source now.

> On Thu, Mar 26, 2015 at 11:29 AM, Bill Traynor <[email protected]> wrote:
>
>> I'm getting the following error when trying to upload an SVG image:
>> "This SVG file contains an illegal namespace
>> "http://sozi.baierouge.fr";
>>
>> In searching for a solution to this, I've found
>> http://www.mediawiki.org/wiki/Extension:WhitelistedNamespaces
>>
>> Do I really need to install another extension to solve this problem?
>> Why would a domain name in an SVG even trigger this Warning on upload?
>>  Also, checking the Ignore Warnings radio button in the upload form
>> doesn't have any effect.
>>
>> Thanks
>> Bill
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to