Actions
Bug #472
closedNo 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
Updated by naruse (Yui NARUSE) about 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r18805.
=end
Actions
Like0
Like0