diff options
Diffstat (limited to 'src/erlang-oauth')
-rw-r--r-- | src/erlang-oauth/oauth_uri.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erlang-oauth/oauth_uri.erl b/src/erlang-oauth/oauth_uri.erl index fb27ae72..3bdc9076 100644 --- a/src/erlang-oauth/oauth_uri.erl +++ b/src/erlang-oauth/oauth_uri.erl @@ -84,5 +84,5 @@ encode([], Encoded) -> encode([C|Etc], Encoded) when ?is_unreserved(C) -> encode(Etc, [C|Encoded]); encode([C|Etc], Encoded) -> - Value = io_lib:format("%~2.1.0s", [erlang:integer_to_list(C, 16)]), + Value = io_lib:format("%~2.2.0s", [erlang:integer_to_list(C, 16)]), encode(Etc, [Value|Encoded]). |