Treat dollar signs as URI chars (fixing #3859).
This commit is contained in:
parent
8d45cc5827
commit
4040d5f647
|
@ -306,7 +306,7 @@ public class Patterns {
|
||||||
private static final String PORT_NUMBER = "\\:\\d{1,5}";
|
private static final String PORT_NUMBER = "\\:\\d{1,5}";
|
||||||
private static final String PATH_AND_QUERY_CHARS_WITHOUT_SLASH =
|
private static final String PATH_AND_QUERY_CHARS_WITHOUT_SLASH =
|
||||||
"\\;\\?\\:\\@\\&\\=\\#\\~" // plus optional query params
|
"\\;\\?\\:\\@\\&\\=\\#\\~" // plus optional query params
|
||||||
+ "\\-\\.\\+\\!\\*\\'\\(\\)\\,\\_";
|
+ "\\-\\.\\+\\!\\*\\'\\(\\)\\,\\_\\$";
|
||||||
private static final String PATH_AND_QUERY = "\\/(?:(?:[" + LABEL_CHAR
|
private static final String PATH_AND_QUERY = "\\/(?:(?:[" + LABEL_CHAR
|
||||||
+ PATH_AND_QUERY_CHARS_WITHOUT_SLASH
|
+ PATH_AND_QUERY_CHARS_WITHOUT_SLASH
|
||||||
+ "]+[^" + PATH_AND_QUERY_CHARS_WITHOUT_SLASH + "\\s]" // path and query chars must not be trailing
|
+ "]+[^" + PATH_AND_QUERY_CHARS_WITHOUT_SLASH + "\\s]" // path and query chars must not be trailing
|
||||||
|
|
Loading…
Reference in a new issue