Fixed: Unexpected decoding of url encoded textarea data after submission
Oops, forgot to commit this checkstyle issue fix
@@ -1725,16 +1725,16 @@ public final class UtilHttp {
List<String> result = new ArrayList<String>();
Pattern pattern = Pattern.compile(
- "\\b(((ht|f)tp(s?)\\:\\/\\/|~\\/|\\/)|www.)" +
- "(\\w+:\\w+@)?(([-\\w]+\\.)+(com|org|net|gov" +
- "|mil|biz|info|mobi|name|aero|jobs|museum" +
- "|travel|[a-z]{2}))(:[\\d]{1,5})?" +
- "(((\\/([-\\w~!$+|.,=]|%[a-f\\d]{2})+)+|\\/)+|\\?|#)?" +
- "((\\?([-\\w~!$+|.,*:]|%[a-f\\d{2}])+=?" +
- "([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)" +
- "(&(?:[-\\w~!$+|.,*:]|%[a-f\\d{2}])+=?" +
- "([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)*)*" +
- "(#([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)?\\b");
+ "\\b(((ht|f)tp(s?)\\:\\/\\/|~\\/|\\/)|www.)"
+ + "(\\w+:\\w+@)?(([-\\w]+\\.)+(com|org|net|gov"
+ + "|mil|biz|info|mobi|name|aero|jobs|museum"
+ + "|travel|[a-z]{2}))(:[\\d]{1,5})?"
+ + "(((\\/([-\\w~!$+|.,=]|%[a-f\\d]{2})+)+|\\/)+|\\?|#)?"
+ + "((\\?([-\\w~!$+|.,*:]|%[a-f\\d{2}])+=?"
+ + "([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)"
+ + "(&(?:[-\\w~!$+|.,*:]|%[a-f\\d{2}])+=?"
+ + "([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)*)*"
+ + "(#([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)?\\b");
Matcher matcher = pattern.matcher(input);
while (matcher.find()) {
