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

UriTemplate throws exception for host variables #1727

Closed
mibollma opened this issue Dec 9, 2021 · 1 comment
Closed

UriTemplate throws exception for host variables #1727

mibollma opened this issue Dec 9, 2021 · 1 comment
Assignees
Labels
in: core Core parts of the project type: bug
Milestone

Comments

@mibollma
Copy link

mibollma commented Dec 9, 2021

It seems that since #1583 using a variable host throws an exception.
For example UriTemplate.of("https://{somehost}/somepath") throws java.lang.IllegalArgumentException: [https://] is not a valid HTTP URL.

@odrotbohm odrotbohm self-assigned this Dec 9, 2021
@odrotbohm odrotbohm added this to the 1.5 M1 milestone Dec 9, 2021
@odrotbohm odrotbohm added in: core Core parts of the project type: bug labels Dec 9, 2021
@odrotbohm
Copy link
Member

Reproduced. Fix coming and also back-ported to the upcoming 1.4.1.

@odrotbohm odrotbohm changed the title UriTemplate throws exception for host variables UriTemplate throws exception for host variables Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Core parts of the project type: bug
Projects
None yet
Development

No branches or pull requests

2 participants