diff --git a/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java b/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java index 1e1771e11..340b10dfa 100644 --- a/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java +++ b/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java @@ -258,7 +258,11 @@ public class URLEncodedUtils { return result.toString(); } - /** Unreserved characters, i.e. alphanumeric, plus: _ - ! . ~ ' ( ) * */ + /** + * Unreserved characters, i.e. alphanumeric, plus: {@code _ - ! . ~ ' ( ) *} + *

+ * This list is the same as the {@code unreserved} list in RFC 2396 + */ private static final BitSet UNRESERVED = new BitSet(256); /** Punctuation characters: , ; : $ & + = */ private static final BitSet PUNCT = new BitSet(256);