This commit is contained in:
Looly
2021-11-26 22:21:41 +08:00
parent 06cc38734c
commit 496d07c8d7
4 changed files with 16 additions and 0 deletions

View File

@@ -539,6 +539,9 @@ public class HttpUtil {
* @since 4.5.2
*/
public static String normalizeParams(String paramPart, Charset charset) {
if(StrUtil.isEmpty(paramPart)){
return paramPart;
}
final StrBuilder builder = StrBuilder.create(paramPart.length() + 16);
final int len = paramPart.length();
String name = null;