URL-encode the content-disposition suggested filename for XML export data.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 17 Jul 2007 18:14:36 +0000 (18:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 17 Jul 2007 18:14:36 +0000 (18:14 +0000)
commite715f5358a2efc9ffe1086355b32de615aae09ce
tree09e85c27eeb8775a8e70e8cabb116c864546b13b
parent137ce4517bb02c5eb9940d1c7318c70de0e9733f
URL-encode the content-disposition suggested filename for XML export data.

This fixes the filename encoding for non-pure-ASCII site names on IE 6/7, and may fix issues with other ASCIIish chars.
Safari 2/Mac messes up the filename either way, but percent codes are probably still better here than garbage characters. :)
IE/Mac and Safari 3/Win don't appear to pay attention to the content-disposition and still show the XML inline.
includes/SpecialExport.php