Use proper method to construct an URL string.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 2 Oct 2009 10:39:21 +0000 (10:39 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 2 Oct 2009 10:39:21 +0000 (10:39 +0000)
commit1bfaa78fa237c9685eeaf97b6d2331932bb12c42
tree74e94475609ba79da6a222fa880fc20053d3c875
parent68d0147d79e69031b59da792a95f01b439989815
Use proper method to construct an URL string.
File.toURI() takes care of absolute paths, trailing slashes in the names of directories, encoding of special characters such as '%'.
Based on a suggestion by Rainer Jung.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@820954 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/loader/VirtualWebappLoader.java