]> source.dussan.org Git - vaadin-framework.git/commit
Fixed NPE in ApplicationRunnerServlet (#12145)
authorJouni Koivuviita <jouni@vaadin.com>
Fri, 28 Jun 2013 13:00:59 +0000 (16:00 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 28 Jun 2013 13:03:59 +0000 (13:03 +0000)
commita4f127722af09a0e67f8df7c9aa3916b52d4595a
tree7bedb033186c116243a54fbf104ab97cb1fe7579
parent419c6c787508a8b9c14a4613a96f3ac8e48b1981
Fixed NPE in ApplicationRunnerServlet (#12145)

If the path for a test case file contained special characters (such as
space), they would get URL encoded which wouldn't work for File
constructors.

Fixed by using URI.getPath(), which does the decoding.

Change-Id: I2a7c13b785adbb2e486d3807b115540c0ba70fa6
uitest/src/com/vaadin/launcher/ApplicationRunnerServlet.java