diff options
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r-- | src/LYUtils.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c index 17d959b9..b778ed71 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -4122,7 +4122,14 @@ have_VMS_URL: /* * It is a subdirectory or file on the local system. */ +#ifndef DOSPATH cp = HTEscape(temp, URL_PATH); +#else + /* We need not escape DOS local paths such as c: */ + /* especially when we really have file://localhost/ */ + /* at the beginning. */ + StrAllocCopy(cp, temp); +#endif /* DOSPATH */ StrAllocCat(*AllocatedString, cp); FREE(cp); if (TRACE) { |