[Libreoffice-commits] core.git: sal/osl
Stephan Bergmann
sbergman at redhat.com
Wed Nov 4 01:20:24 PST 2015
sal/osl/w32/file_url.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit d3248d1fd83cca67a11dd593c124694382bf5f34
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Nov 4 08:39:35 2015 +0100
Handle URLs with query or fragment (or containing NUL chars)
Change-Id: Ib6ba723b59fb5af69b45456a19e1bff085a75c92
Reviewed-on: https://gerrit.libreoffice.org/19775
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index edb9b9a..dda005b 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;
More information about the Libreoffice-commits
mailing list