Hi all,

When using the AjaxDownloadBehavior with Location=Blob and a greek
filename, the filename is url encoded.

E.g. if the file is "αρχείο.txt" (as defined in
ResourceStreamResource.setFilename()), the downloaded file is
"%CE%B1%CF%81%CF%87%CE%B5%CE%AF%CE%BF.txt" which is the url encoded result
of the original filename.

This happens because ResourceStreamResource url encodes the filename -
something that works fine for Location=IFrame or Location=SameWindow.
However for Location=Blob it seems that the javascript code that constructs
the blob needs to url decode the filename...

Apparently this does not apply only to greek chars in filenames, but to all
non-ascii chars...

This has been tested in chrome and firefox.

Marios

Reply via email to