You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sub-delims characters should not be percent-encoded by the normalized_user and normalized_password methods in Addressable::URI as they are valid characters according to RFC 3986:
The second parameter to be passed to Addressable::URI.normalize_component should be /[^#{CharacterClasses::UNRESERVED + CharacterClasses::SUB_DELIMS}]/ instead of just /[^#{CharacterClasses::UNRESERVED}]/
The text was updated successfully, but these errors were encountered:
The sub-delims characters should not be percent-encoded by the
normalized_user
andnormalized_password
methods inAddressable::URI
as they are valid characters according to RFC 3986:Current behaviour:
Expected behaviour:
The characters are encoded in the following two places:
addressable/lib/addressable/uri.rb
Lines 955 to 958 in 4229164
addressable/lib/addressable/uri.rb
Lines 1010 to 1013 in 4229164
The second parameter to be passed to
Addressable::URI.normalize_component
should be/[^#{CharacterClasses::UNRESERVED + CharacterClasses::SUB_DELIMS}]/
instead of just/[^#{CharacterClasses::UNRESERVED}]/
The text was updated successfully, but these errors were encountered: