# File lib/addressable/uri.rb, line 1695
    def normalized_path
      @normalized_path ||= (begin
        result = Addressable::URI.encode_component(
          Addressable::IDNA.unicode_normalize_kc(
            Addressable::URI.unencode_component(self.path.strip)),
          Addressable::URI::CharacterClasses::PATH
        )
        result = self.class.normalize_path(result)
        if result == "" &&
            ["http", "https", "ftp", "tftp"].include?(self.normalized_scheme)
          result = "/"
        end
        result
      end)
    end