We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here the User-Agent is set to a string containing python code:
PyMISP/pymisp/aping.py
Line 1844 in b1c79f9
Reproduction:
import pymisp misp = pymisp.ExpandedPyMISP("http://localhost:1337", "asdf") event = pymisp.MISPEvent() misp.add_event(event)
Listening to localhost produces:
$ nc -l 1337 GET /servers/getPyMISPVersion.json HTTP/1.1 Host: localhost:1337 User-Agent: PyMISP {__version__} - Python {".".join(str(x) for x in sys.version_info[:2])} Accept-Encoding: gzip, deflate Accept: application/json Connection: keep-alive Authorization: asdf content-type: application/json
I assume that this is not intended behavior.
The text was updated successfully, but these errors were encountered:
Fix missing f in f-string
8d302d3
Fixes: MISP#429
I do believe that it might just be a missing f since this looks like an f-string. I made a PR that fixes this.
Sorry, something went wrong.
🤦♂️
Thank you very much...
Successfully merging a pull request may close this issue.
Here the User-Agent is set to a string containing python code:
PyMISP/pymisp/aping.py
Line 1844 in b1c79f9
Reproduction:
Listening to localhost produces:
I assume that this is not intended behavior.
The text was updated successfully, but these errors were encountered: