0d8310ec7a
When manila API is served behind a proxy, the "script_name" in the request can have the proxy component in it. So, this patch fixes the version selection logic by looking for the version in the script name string instead of equivalence. In addition, this patch adds some missing unit tests and fixes tests that invoke a mocked wsgi app for testing request context. Change-Id: I0363d7174f3d7ddefa8ced59b182faed665e9c36 Partial-Bug: #1815038 Closes-Bug: #1818081
7 lines
316 B
Plaintext
7 lines
316 B
Plaintext
---
|
|
fixes:
|
|
- |
|
|
When manila API is run behind a proxy webserver, the API service was
|
|
parsing the major API version requested incorrectly, leading to incorrect
|
|
responses. This behavior has now been fixed. See `launchpad bug 1815038
|
|
<https://bugs.launchpad.net/manila/+bug/1818081>`_ for more details. |