We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just stumbled on this while configuring a rules' whitelist:
If I configured [email protected], [email protected], then both [email protected] and [email protected] (note the extra space) are authorized, but [email protected] isn't.
[email protected], [email protected]
[email protected]
I suggest to either trim whitespace when checking, in this function:
https://github.com/thomseddon/traefik-forward-auth/blob/c4317b7503fb0528d002eb1e5ee43c4a37f055d0/internal/auth.go#L100C1-L108C2
Or to at least warn when parsing a rule with whitespace in an email. Happy to submit patches moving in either direction.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Just stumbled on this while configuring a rules' whitelist:
If I configured
[email protected], [email protected]
, then both[email protected]
and[email protected]
(note the extra space) are authorized, but[email protected]
isn't.I suggest to either trim whitespace when checking, in this function:
https://github.com/thomseddon/traefik-forward-auth/blob/c4317b7503fb0528d002eb1e5ee43c4a37f055d0/internal/auth.go#L100C1-L108C2
Or to at least warn when parsing a rule with whitespace in an email. Happy to submit patches moving in either direction.
The text was updated successfully, but these errors were encountered: