8579d1e479
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.
4 lines
108 B
Plaintext
4 lines
108 B
Plaintext
```release-note:improvement
|
|
agent: trim leading and trailing spaces when parsing `X-Nomad-Token` header
|
|
```
|