Skip to content
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

getResourceById() fails when working with UUID #6

Closed
pandzel-zz opened this issue Jun 5, 2015 · 1 comment
Closed

getResourceById() fails when working with UUID #6

pandzel-zz opened this issue Jun 5, 2015 · 1 comment
Milestone

Comments

@pandzel-zz
Copy link

OpenSearchGeoTests.getResourceById() substitutes {geo:uid} parameter in the URL template with the actual uid. If that uid has a form of UUID starting and ending with curly braces, then an exception is thrown from within OpenSearchTemplateUtils.buildRequestURI() at the line:

return URI.create(template);

with the message logged into the report like this:

I would suggest to URLEncode an identifier before passing to the template.

@rjmartell
Copy link
Contributor

You mean that the actual record identifier (substitution value) contains curly braces? That seems a bit odd, but the specs don't appear to prohibit this.

@bermud bermud modified the milestones: Next Mayor Release, 0.8 Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants