bcc4f98a3d
If a user specifies a header in their request for metadata,
it could override what the proxy would have inserted on their
behalf. Make sure to remove any headers we don't want, and
override something that might be present in the request.
If the agent somehow gets a request with both headers it will
silently drop it.
Change-Id: Id6c103b7bcebe441c27c6049d349d84ba7fd15a6
Closes-bug: #1865036
(cherry picked from commit 5af046fd4e
)
9 lines
346 B
YAML
9 lines
346 B
YAML
---
|
|
security:
|
|
- |
|
|
A change was made to the metadata proxy to not allow a user to override
|
|
header values, it will now always insert the correct information and
|
|
remove unnecessary fields before sending requests to the metadata agent.
|
|
For more information, see bug
|
|
`1865036 <https://bugs.launchpad.net/neutron/+bug/1865036>`_.
|