diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/apps/FOURIResolver.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/apps/FOURIResolver.java b/src/java/org/apache/fop/apps/FOURIResolver.java index f96711d31..c7d564ea3 100644 --- a/src/java/org/apache/fop/apps/FOURIResolver.java +++ b/src/java/org/apache/fop/apps/FOURIResolver.java @@ -68,6 +68,8 @@ public class FOURIResolver implements javax.xml.transform.URIResolver { * @throws MalformedURLException if there's a problem with a file URL */ public String checkBaseURL(String base) throws MalformedURLException { + // replace back slash with forward slash to ensure windows file:/// URLS are supported + base = base.replace('\\', '/'); if (!base.endsWith("/")) { // The behavior described by RFC 3986 regarding resolution of relative // references may be misleading for normal users: |