Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Jun 28, 2024
1 parent 77238c1 commit 7422db5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ public class URLEncodeUtil {
for (i = '0'; i <= '9'; i++) {
dontNeedEncoding.set(i);
}
String reversed = "+-_.$:()!*@&#,[]";
String mark = "-_.!~*'()";
for (i = 0; i < mark.length(); i++) {
dontNeedEncoding.set(mark.charAt(i));
}
String reversed = ";/?:@&=+$,#";
for (i = 0; i < reversed.length(); i++) {
dontNeedEncoding.set(reversed.charAt(i));
}
Expand Down

0 comments on commit 7422db5

Please sign in to comment.