fix: URLJoin condition for double quotes

pull/347/head
Hannah Ward 2019-02-21 13:15:24 +00:00
parent 731acea4dc
commit c5e5ad5050
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
1 changed files with 1 additions and 1 deletions

View File

@ -2046,7 +2046,7 @@ class PyMISP(object):
if tags:
if isinstance(tags, list):
tags = "&&".join(tags)
url = urljoin(self.root_url, "/events/stix/download/{}/{}/{}/{}/{}".format(
url = urljoin(self.root_url, "events/stix/download/{}/{}/{}/{}/{}".format(
event_id, with_attachments, tags, from_date, to_date))
logger.debug("Getting STIX event from %s", url)
response = self._prepare_request('GET', url)