diff options
Diffstat (limited to 'src/couchdb/couch_util.erl')
-rw-r--r-- | src/couchdb/couch_util.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_util.erl b/src/couchdb/couch_util.erl index e31bd0e7..d967b433 100644 --- a/src/couchdb/couch_util.erl +++ b/src/couchdb/couch_util.erl @@ -260,7 +260,7 @@ encodeBase64(<<B:1/binary>>, Acc) -> encodeBase64(<<>>, Acc) -> Acc. -encodeBase64Url(Bs) when list(Bs) -> +encodeBase64Url(Bs) when is_list(Bs) -> encodeBase64Url(list_to_binary(Bs), <<>>); encodeBase64Url(Bs) -> encodeBase64Url(Bs, <<>>). |