We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4916266 commit 0258abeCopy full SHA for 0258abe
index.js
@@ -52,8 +52,8 @@ const credentialsLaxRE = new RegExp(`^${BWS}*${authScheme}${BWS}+${token68}${BWS
52
/**
53
* @see https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1
54
*/
55
-const CTL = '[\x00-\x1F\x7F]'
56
-const controlRE = new RegExp(CTL)
+// eslint-disable-next-line no-control-regex
+const controlRE = /[\x00-\x1F\x7F]/
57
58
59
* RegExp for basic auth user/pass
0 commit comments