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