brianmario / escape_utils

Faster string escaping routines for your ruby apps
MIT License
513 stars 52 forks source link

escape_utils/url/uri breaks oauth #58

Closed hrdwdmrbl closed 2 years ago

hrdwdmrbl commented 10 years ago

The OAuth library uses CGI::escape to encode request headers. CGI::escape will escape = (equal sign), but EscapeUtils.escape_uri does not. As a result, OAuth produces mal-formed headers.

byroot commented 2 years ago
>> EscapeUtils::VERSION
=> "1.2.1"
>> EscapeUtils.escape_url('=')
=> "%3D"

Not sure when it was fixed, but we can close this.