mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
HTMLForm: in URL encoding, percent-encode more characters
This commit is contained in:
@@ -348,9 +348,9 @@ void HTMLForm::writeUrl(std::ostream& ostr)
|
||||
{
|
||||
if (it != begin()) ostr << "&";
|
||||
std::string name;
|
||||
URI::encode(it->first, "=&+;", name);
|
||||
URI::encode(it->first, "!?#/'\",;:$&()[]*+=@", name);
|
||||
std::string value;
|
||||
URI::encode(it->second, "=&+;", value);
|
||||
URI::encode(it->second, "!?#/'\",;:$&()[]*+=@", value);
|
||||
ostr << name << "=" << value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user