summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/file_url.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index edb9b9a68cf6..dda005b0044c 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -593,6 +593,11 @@ static sal_Bool _osl_decodeURL( rtl_String* strUTF8, rtl_uString** pstrDecodedUR
*pDest++ = aChar;
}
break;
+ case '\0':
+ case '#':
+ case '?':
+ bValidEncoded = sal_False;
+ break;
default:
*pDest++ = *pSrc++;
break;