mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Our auth token parsing code trims space around the `Authorization` header but not around `X-Nomad-Token`. When using the UI, it's easy to accidentally introduce a leading or trailing space, which results in spurious authentication errors. Trim the space at the HTTP server.
36 KiB
36 KiB