# File lib/addressable/uri.rb, line 665 def normalized_password @normalized_password ||= (begin if self.password if normalized_scheme =~ /https?/ && self.password.strip == "" && (!self.user || self.user.strip == "") nil else Addressable::URI.encode_component( Addressable::IDNA.unicode_normalize_kc( Addressable::URI.unencode_component(self.password.strip)), Addressable::URI::CharacterClasses::UNRESERVED ) end else nil end end) end