From 8fe2f9c4a4119f925c4a17a74cb1df39d5cb9656 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Sun, 8 Sep 2013 01:06:24 +0300 Subject: [PATCH] Fixed bug in digest authentication in some devices. --- auth.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.coffee b/auth.coffee index 135edef..b547030 100644 --- a/auth.coffee +++ b/auth.coffee @@ -7,7 +7,7 @@ exports.parseAuthHeader = (authHeader) -> res['method'] = authHeader.slice(0, i) options = authHeader.slice(i + 1) - regex = /([a-z]+)="([a-zA-Z0-9\/\.@\-,]+)"/g + regex = /([a-z]+)="([a-zA-Z0-9\/\.@\-,=]+)"/g while (r = regex.exec(options)) != null res[r[1]] = r[2]