Skip to content

Commit

Permalink
fix: include '+' in SAFEPATHCHARS_URLENCODER (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored and chingor13 committed Jan 22, 2020
1 parent f11b3af commit 9384459
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ public class PercentEscaper extends UnicodeEscaper {
public static final String SAFEPATHCHARS_URLENCODER = "-_.!~*'()@:$&,;=+";

/**
* Contains the save characters plus all reserved characters. This happens to be the safe path
* characters plus those characters which are reserved for URI segments, namely '+', '/', and '?'.
* Contains the safe characters plus all reserved characters. This happens to be the safe path
* characters plus those characters which are reserved for URI segments, namely '/' and '?'.
*/
public static final String SAFE_PLUS_RESERVED_CHARS_URLENCODER = SAFEPATHCHARS_URLENCODER + "+/?";
public static final String SAFE_PLUS_RESERVED_CHARS_URLENCODER = SAFEPATHCHARS_URLENCODER + "/?";

/**
* A string of characters that do not need to be encoded when used in URI user info part, as
Expand Down

0 comments on commit 9384459

Please sign in to comment.