Updated Branches: refs/heads/5.3 318e031fb -> 9afb9b692
TAP5-1935: Use file.toURI().toURL() instead of file.toURL() Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/9afb9b69 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/9afb9b69 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/9afb9b69 Branch: refs/heads/5.3 Commit: 9afb9b6922a0da0c6ceec73239b6fdd4c6773d84 Parents: 318e031 Author: kaosko <[email protected]> Authored: Tue May 22 12:47:14 2012 -0700 Committer: Kalle Korhonen <[email protected]> Committed: Tue May 22 13:10:14 2012 -0700 ---------------------------------------------------------------------- .../internal/services/ContextResource.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/9afb9b69/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java index 7d2db59..681424f 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ContextResource.java @@ -104,7 +104,7 @@ public class ContextResource extends AbstractResource { try { - url = file.toURL(); + url = file.toURI().toURL(); urlResolved = true; return; } catch (MalformedURLException ex)
