diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2011-04-01 11:55:58 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2011-04-01 11:55:58 +0000 |
commit | c9a15200f08d40443768813760b23b2bc9925bf4 (patch) | |
tree | f6507a540c9b73bcfab977af47e5903c99c41bf0 /src/mochiweb/mochiweb_socket_server.erl | |
parent | 2e632b8f61b7ad032845186874498d2c8bc356ef (diff) |
Fix OAuth signature computation in OTP R14B02
In OTP versions prior to R14B02, the OAuth signature was correctly calculated
due to a bug in the OTP stdlib. This was fixed in R14B02 (OTP-8989, check
http://erlang.org/download/otp_src_R14B02.readme).
Before R14B02:
Erlang R14B01 (erts-5.8.2) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.8.2 (abort with ^G)
1> lists:flatten(io_lib:format("%~2.1.0s", [erlang:integer_to_list($+, 16)])).
"%2B"
In R14B02:
Erlang R14B02 (erts-5.8.3) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.8.3 (abort with ^G)
1> lists:flatten(io_lib:format("%~2.1.0s", [erlang:integer_to_list($+, 16)])).
"%02"
This doesn't affect the erlang-oauth application in trunk, since it's a more recent version
with a different implementation.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1087661 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/mochiweb/mochiweb_socket_server.erl')
0 files changed, 0 insertions, 0 deletions