Re: [Wikitech-l] Controlling filename and content-type for action=raw

2011-08-10 Thread Platonides
Finn Årup Nielsen wrote: > On Wed, 2011-08-10 at 17:39 +0200, Daniel Friesen wrote: > >> MediaWiki does not permit this because allowing random people to create >> pages and have them returned to a user with a text/html or other >> mimetype creates XSS vectors and ways of distributing malware. > >

Re: [Wikitech-l] Controlling filename and content-type for action=raw

2011-08-10 Thread Finn Årup Nielsen
On Wed, 2011-08-10 at 17:39 +0200, Daniel Friesen wrote: > MediaWiki does not permit this because allowing random people to create > pages and have them returned to a user with a text/html or other > mimetype creates XSS vectors and ways of distributing malware. Yes, I that is right, but I suppos

Re: [Wikitech-l] Controlling filename and content-type for action=raw

2011-08-10 Thread Daniel Friesen
MediaWiki does not permit this because allowing random people to create pages and have them returned to a user with a text/html or other mimetype creates XSS vectors and ways of distributing malware. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] On 11-08-10 08:30 AM, Fin

[Wikitech-l] Controlling filename and content-type for action=raw

2011-08-10 Thread Finn Årup Nielsen
Is it possible let MediaWiki hint the browser about the filename and change the content type? I have a wikipage, e.g., "Buss-Durkee Hostility Inventory". If I save this page from the browser "Buss-Durkee_Hostility_Inventory.html" is suggested as the filename, - which is fine. I have another wik