sal/osl/w32/file_url.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit d3248d1fd83cca67a11dd593c124694382bf5f34
Author: Stephan Bergmann <[email protected]>
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 <[email protected]>
Reviewed-by: Stephan Bergmann <[email protected]>
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits