Actions
Bug #472
closedNo ord in Net::HTTP#urlencode
Bug #472:
No ord in Net::HTTP#urlencode
Description
=begin
def urlencode(str)
str.gsub(/[^a-zA-Z0-9_].-/n) { sprintf('%%%02x', $&[0]) }
end
Since the semantics of String#[] has changed in 1.9, we need to call ord method.
Patch attached.
=end
Files
Actions