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