-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Literal '%2F' in document name #71
Comments
--explain output example:
It looks like the URI is correct. I can use curl to verify that URI is correct and the output is JSON. However when I see the cached value the doc name isn't correct and I can see the key exists but it isn't found. |
Curl example showing the URI works:
|
I have confirmed that '%2F' in the URI is being translated to '%252F' by looking at the CouchDB access logs which is why it fails. |
We are using a CouchDB v2 backend and our document names look like this:
We have a web frontend that resolves the literal %2F to a / so it looks pretty in the GUI editor. So our hierarchy uris should be something like this:
However hiera_http is turning
%2F
into%252F
during the lookup which means the right document isn't ever found. Is there a way to have literal%2F
in the uri?The text was updated successfully, but these errors were encountered: