summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2016-12-13 11:28:55 +0200
committerPekka Hyvönen <pekka@vaadin.com>2016-12-13 11:28:55 +0200
commit94df5a7ed3bd02f08d4171a832ce3a29ccf1039b (patch)
tree9394d8a59f0a7aaa50546444aea1bf446893e01b /uitest
parent451120cd3df4378c6e1a594c5cb74a9c791f81c3 (diff)
downloadvaadin-framework-94df5a7ed3bd02f08d4171a832ce3a29ccf1039b.tar.gz
vaadin-framework-94df5a7ed3bd02f08d4171a832ce3a29ccf1039b.zip
Use proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607)
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/FileDownloaderUI.java4
-rw-r--r--uitest/src/main/resources/com/vaadin/tests/components/embedded/File åäö-日本語.pdf (renamed from uitest/src/main/resources/com/vaadin/tests/components/embedded/åäö-日本語.pdf)bin22522 -> 22522 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/components/FileDownloaderUI.java b/uitest/src/main/java/com/vaadin/tests/components/FileDownloaderUI.java
index 29c8ab5eaa..e4183cd40b 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/FileDownloaderUI.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/FileDownloaderUI.java
@@ -99,8 +99,8 @@ public class FileDownloaderUI extends AbstractTestUIWithLog {
addComponents("Class resource pdf", resource, components);
Button downloadUtf8File = new Button("Download UTF-8 named file");
- FileDownloader fd = new FileDownloader(
- new ClassResource(new EmbeddedPdf().getClass(), "åäö-日本語.pdf"));
+ FileDownloader fd = new FileDownloader(new ClassResource(
+ new EmbeddedPdf().getClass(), "File åäö-日本語.pdf"));
fd.setOverrideContentType(false);
fd.extend(downloadUtf8File);
addComponent(downloadUtf8File);
diff --git a/uitest/src/main/resources/com/vaadin/tests/components/embedded/åäö-日本語.pdf b/uitest/src/main/resources/com/vaadin/tests/components/embedded/File åäö-日本語.pdf
index e44a87e9ad..e44a87e9ad 100644
--- a/uitest/src/main/resources/com/vaadin/tests/components/embedded/åäö-日本語.pdf
+++ b/uitest/src/main/resources/com/vaadin/tests/components/embedded/File åäö-日本語.pdf
Binary files differ