Skip to content

Commit

Permalink
Remove redundant colon in CharacterClasses::AUTHORITY (#438)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrik Ragnarsson <[email protected]>
  • Loading branch information
ukolovda and dentarg authored Jan 15, 2022
1 parent 901e563 commit dd84176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/addressable/uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module CharacterClasses
PCHAR = UNRESERVED + SUB_DELIMS + "\\:\\@"
SCHEME = ALPHA + DIGIT + "\\-\\+\\."
HOST = UNRESERVED + SUB_DELIMS + "\\[\\:\\]"
AUTHORITY = PCHAR + "\\[\\:\\]"
AUTHORITY = PCHAR + "\\[\\]"

This comment has been minimized.

Copy link
@rexingQ

rexingQ May 25, 2022

PATH = PCHAR + "\\/"
QUERY = PCHAR + "\\/\\?"
FRAGMENT = PCHAR + "\\/\\?"
Expand Down

1 comment on commit dd84176

@rexingQ
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lib/addressable/uri.rb

Please sign in to comment.