Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update oauth to latest version

  • Loading branch information...
commit 2b796ea7973c0f38aad569bf2506bd8026eca004 1 parent 12ee412
Benoit Chesneau authored January 01, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/oauth_uri.erl
2  src/oauth_uri.erl
@@ -31,7 +31,7 @@ params_to_header_string(Params) ->
31 31
   intercalate(", ", [concat([encode(K), "=\"", encode(V), "\""]) || {K, V} <- Params]).
32 32
 
33 33
 params_from_header_string(String) ->
34  
-  [param_from_header_string(Param) || Param <- re:split(String, ",\\s*", [{return, list}])].
  34
+  [param_from_header_string(Param) || Param <- re:split(String, ",\\s*", [{return, list}]), Param =/= ""].
35 35
 
36 36
 param_from_header_string(Param) ->
37 37
   [Key, QuotedValue] = string:tokens(Param, "="),

0 notes on commit 2b796ea

Please sign in to comment.
Something went wrong with that request. Please try again.