Core: UrlDecode option not to convert + to space, UrlEncode now converts space to %20, CtrlCore: Gtk files clip fixed

This commit is contained in:
Mirek Fidler 2024-10-14 15:35:40 +02:00
parent fbeef84f75
commit 1e4974dc8b
4 changed files with 33 additions and 30 deletions

View file

@ -7,9 +7,9 @@ String MIMECharsetName(byte charset);
String UrlEncode(const char *s, const char *end);
String UrlEncode(const char *s, int len);
String UrlEncode(const String& s);
String UrlDecode(const char *s, const char *end);
String UrlDecode(const char *s, int len);
String UrlDecode(const String& s);
String UrlDecode(const char *s, const char *end, bool plus_is_space = true);
String UrlDecode(const char *s, int len, bool plus_is_space = true);
String UrlDecode(const String& s, bool plus_is_space = true);
String QPEncode(const char* s);
String QPDecode(const char *s, bool undescore_to_space = false);