* Use the rawurlencode instead of urlencode.

This commit is contained in:
dingguodong
2024-05-17 12:17:41 +08:00
parent 8bc14a7ef7
commit 760fe9fcff
+1 -1
View File
@@ -1102,7 +1102,7 @@ class baseControl
if(!is_string($value)) continue;
/* Retain ["] for json encode when value is jsoned string. */
$data[$key] = str_replace('%22', '"', urlencode($value));
$data[$key] = str_replace('%22', '"', rawurlencode($value));
}
if(defined('RUN_MODE') && in_array(RUN_MODE, array('api', 'xuanxuan')))