mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
RequestContext::get_query() is fully URI-encoded
This commit is contained in:
@ -116,10 +116,10 @@ MHD_Result RequestContext::fill_argument(void *__this, enum MHD_ValueKind kind,
|
||||
if ( ! _this->queryString.empty() ) {
|
||||
_this->queryString += "&";
|
||||
}
|
||||
_this->queryString += key;
|
||||
_this->queryString += urlEncode(key, true);
|
||||
if ( value ) {
|
||||
_this->queryString += "=";
|
||||
_this->queryString += value;
|
||||
_this->queryString += urlEncode(value, true);
|
||||
}
|
||||
return MHD_YES;
|
||||
}
|
||||
|
Reference in New Issue
Block a user