From dd84176c2ad6c71bbec4b66bfc694d80969149ae Mon Sep 17 00:00:00 2001 From: Dmitry Ukolov Date: Sat, 15 Jan 2022 17:12:51 +0400 Subject: [PATCH] Remove redundant colon in `CharacterClasses::AUTHORITY` (#438) Co-authored-by: Patrik Ragnarsson --- lib/addressable/uri.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addressable/uri.rb b/lib/addressable/uri.rb index e8d6c429..b91d513a 100644 --- a/lib/addressable/uri.rb +++ b/lib/addressable/uri.rb @@ -48,7 +48,7 @@ module CharacterClasses PCHAR = UNRESERVED + SUB_DELIMS + "\\:\\@" SCHEME = ALPHA + DIGIT + "\\-\\+\\." HOST = UNRESERVED + SUB_DELIMS + "\\[\\:\\]" - AUTHORITY = PCHAR + "\\[\\:\\]" + AUTHORITY = PCHAR + "\\[\\]" PATH = PCHAR + "\\/" QUERY = PCHAR + "\\/\\?" FRAGMENT = PCHAR + "\\/\\?"