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