# File lib/addressable/uri.rb, line 1363
    def basename
      # Path cannot be nil
      return File.basename(self.path).gsub(/;[^\/]*$/, EMPTY_STR)
    end