Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
bc0fbbb5c1
commit
b82b46243d
|
@ -159,7 +159,7 @@ public final class UriCompliance implements ComplianceViolation.Mode
|
|||
|
||||
public static UriCompliance valueOf(String name)
|
||||
{
|
||||
for (UriCompliance compliance : Arrays.asList(DEFAULT, LEGACY, RFC3986, STRICT, SAFE))
|
||||
for (UriCompliance compliance : Arrays.asList(DEFAULT, LEGACY, RFC3986, RFC3986_UNAMBIGUOUS, UNSAFE, SAFE, STRICT))
|
||||
{
|
||||
if (compliance.getName().equals(name))
|
||||
return compliance;
|
||||
|
|
Loading…
Reference in New Issue