Fixed host url join with /issues.json when base host url is related.
Example: http://developer.project.org/redmine/
This commit is contained in:
parent
3c54de44da
commit
2a040343e1
|
@ -94,7 +94,7 @@ class RedminePlugin(IssuePlugin):
|
|||
"""Create a Redmine issue"""
|
||||
headers = { "X-Redmine-API-Key": self.get_option('key', group.project),
|
||||
'content-type': 'application/json' }
|
||||
url = urlparse.urljoin(self.get_option('host', group.project), "/issues.json")
|
||||
url = urlparse.urljoin(self.get_option('host', group.project), "issues.json")
|
||||
payload = {
|
||||
'project_id': self.get_option('project_id', group.project),
|
||||
'tracker_id': self.get_option('tracker_id', group.project),
|
||||
|
|
Reference in New Issue