forgot one

This commit is contained in:
fgenesis 2015-10-02 01:38:23 +02:00
parent 997a9e4ae0
commit e7e8ee5e65

View file

@ -268,7 +268,7 @@ void URLEncode(const std::string& s, std::string& enc)
{ {
const unsigned char c = s[i]; const unsigned char c = s[i];
// from https://www.ietf.org/rfc/rfc1738.txt, page 3 // from https://www.ietf.org/rfc/rfc1738.txt, page 3
if(isalnum(c) || c == '$' || c == '-' || c == '_' || c == '.' || c == '+' || c == '!' || c == '*' || c == '\'' || c == '(' || c == ')') if(isalnum(c) || c == '$' || c == '-' || c == '_' || c == '.' || c == '+' || c == '!' || c == '*' || c == '\'' || c == '(' || c == ')' || c == ',')
enc += (char)c; enc += (char)c;
else else
{ {