Issue #6489 - fix RFC3986_UNAMBIGUOUS and UNSAFE UriCompliance modes.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2021-07-01 17:27:17 +10:00
parent bc0fbbb5c1
commit b82b46243d
1 changed files with 1 additions and 1 deletions

View File

@ -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;