Auhtorization header checking #114
Replies: 1 comment 2 replies
-
The regex |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I've just forked the code and I don't understand why is tested
/[\0-\x1F\x7F]/.test(decoded)
when authorization token is decoded from base64.For testing purpose I've create a get request, to emulate unifi, where authorization token is :<cloud_flare_token> encoded in base64.
I cannot pass the regex validation and 401 is received.
So why is needed this regex?
Thanks in advance you made a great work!
Beta Was this translation helpful? Give feedback.
All reactions