# File bin/dskexplorer.rb, line 81
def uri_encode(s)
        #standard URI.escape appears to miss some important characters
        require 'uri'
        URI.escape(s).sub("[","%5b").sub("]","%5d")
end