]> source.dussan.org Git - vaadin-framework.git/commit
Format UTF-8 filenames correctly for download (#16556)
authorAnna Miroshnik <anna.miroshnik@arcadia.spb.ru>
Thu, 12 Mar 2015 15:56:10 +0000 (18:56 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 5 Jun 2015 14:03:47 +0000 (14:03 +0000)
commitd7284ccfe40f7028e880328566bb825ea31ad619
tree6f1f4b4a676aa7e2bd57ed12162ab1860bd959ea
parentc4d006d0c6098b1047adb56c0fc7df6f71fe620c
Format UTF-8 filenames correctly for download (#16556)

The code is the same for both FileDownloader and DownloadStream except
that FileDownloader forces the content-type to be an "attachment".

Change-Id: I50abf3b0f019b773bc0a44b16536a9479f9f472f
server/src/com/vaadin/server/DownloadStream.java
server/src/com/vaadin/server/FileDownloader.java
server/tests/src/com/vaadin/server/DownloadStreamTest.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/FileDownloaderTest.java
uitest/src/com/vaadin/tests/components/embedded/åäö-日本語.pdf [new file with mode: 0644]