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

JiraClient URI without path generates 'null' in final URL #257

Open
bkiebdaj opened this issue Jul 24, 2019 · 2 comments
Open

JiraClient URI without path generates 'null' in final URL #257

bkiebdaj opened this issue Jul 24, 2019 · 2 comments

Comments

@bkiebdaj
Copy link

When creating new JiraClient with URI like
new JiraClient("http://localhost:1234", credentials)

final url contains null in path:
/null/rest/api/latest/issue/createmeta

But when I add '/' at the end of uri it works:
new JiraClient("http://localhost:1234/", credentials)
then
/rest/api/latest/issue/createmeta

@maksar
Copy link

maksar commented Aug 16, 2019

@bkiebdaj Everything was OK on org.apache.httpcomponents:httpclient:4.5.6, but now it is broken on org.apache.httpcomponents:httpclient:4.5.9 due to different implementation of org.apache.http.client.utils.URIBuilder class.

@pkubowicz
Copy link

This is fixed in my fork: nexocodecom@3a1cc67

It is published to Maven Central, so you can use it if you want.

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