From e6edc1ba036f66f07878779d4d7a973c80d30efb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 7 Feb 2019 13:25:07 +0300 Subject: hopefully last custom UrlDecode implementation removed --- include/m_system_cpp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/m_system_cpp.h') diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h index 78df1577f5..35392c78e2 100644 --- a/include/m_system_cpp.h +++ b/include/m_system_cpp.h @@ -431,7 +431,10 @@ struct WCHAR_PARAM : public PARAM /////////////////////////////////////////////////////////////////////////////// // http support -MIR_CORE_DLL(CMStringA) mir_urlDecode(const char *szUrl); +// works inline, in the same buffer, thus destroying its contents +// returns the address of buffer passed +MIR_CORE_DLL(char*) mir_urlDecode(char *szUrl); + MIR_CORE_DLL(CMStringA) mir_urlEncode(const char *szUrl); #endif -- cgit v1.2.3