Fixed bug in digest authentication in some devices.
This commit is contained in:
1 parent
e3b184553e
commit
8fe2f9c4a4
1 file changed
+1
-1
+1
-1
@@ -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]
|
||||
|
||||
|
||||
Reference in new issue
Block a user