keystoneauth/releasenotes/notes/cache-trailing-slash-3663c86cd9754379.yaml
Monty Taylor 106d91fb41
Cache root urls with and without trailing slashes
The trailng slash on a pathless url is not meaningful, but we were
treating the url given to the discovery cache as if it were. In some
circumstances, such as an endpoint_override that didn't match the
found discovery document perfectly, a double-request could be made.
Normalize root urls in the caching code so that https://example.com and
https://example.com/ would be the same.

Change-Id: I70a5911cf0f213a7816fe8d58c6cca4702ff71bb
2018-09-23 10:23:03 -05:00

9 lines
338 B
YAML

---
fixes:
- |
Fixed an issue where https://example.com and https://example.com/ were
being treated as different urls in the discovery cache resulting in a
second unneeded discovery call when someone sets an ``endpoint_override``
that didn't match the trailing-slash form given by that service's
discovery document.