Permalink
Browse files

add support of erlang R15B in oauth.

  • Loading branch information...
1 parent 389142e commit adb62ce3a8cff25af7d0329e1a3790c389ad74e1 benoitc committed Jan 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/erlang-oauth/oauth_uri.erl
@@ -9,6 +9,8 @@
normalize(URI) ->
case http_uri:parse(URI) of
+ {ok, {Scheme, UserInfo, Host, Port, Path, _Query}} -> % R15B
+ normalize(Scheme, UserInfo, string:to_lower(Host), Port, [Path]);
{Scheme, UserInfo, Host, Port, Path, _Query} ->
normalize(Scheme, UserInfo, string:to_lower(Host), Port, [Path]);
Else ->

0 comments on commit adb62ce

Please sign in to comment.