open-nomad/.changelog/16469.txt
Tim Gross 8579d1e479
agent: trim space when parsing X-Nomad-Token header (#16469)
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.
2023-03-14 08:57:53 -04:00

4 lines
108 B
Plaintext

```release-note:improvement
agent: trim leading and trailing spaces when parsing `X-Nomad-Token` header
```