|
var USER_PASS_REGEXP = /^([^:]*):(.*)$/ |
|
// decode user pass |
|
var userPass = USER_PASS_REGEXP.exec(decodeBase64(match[1])) |
Which, RFC 7617 forbids.
The user-id and password MUST NOT contain any control characters (see “CTL” in Appendix B.1 of RFC5234).
basic-auth/index.js
Line 46 in e8a29f9
basic-auth/index.js
Lines 114 to 115 in e8a29f9
Which, RFC 7617 forbids.