lib/escape_utils/url/cgi.rb in escape_utils-0.1.5 vs lib/escape_utils/url/cgi.rb in escape_utils-0.1.6
- old
+ new
@@ -1,10 +1,10 @@
# encoding: utf-8
class CGI
def self.escape(s)
- EscapeUtils.escape_url(s)
+ EscapeUtils.escape_url(s.to_s)
end
def self.unescape(s)
- EscapeUtils.unescape_url(s)
+ EscapeUtils.unescape_url(s.to_s)
end
end
\ No newline at end of file