[2.7] bpo-38243: Escape the server title of DocXMLRPCServer#16447
Conversation
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @vstinner: please review the changes made to this pull request. |
Sorry, something went wrong.
5 str.replace() calls sound inefficient, so there is likely room for enhancement. But I am not sure what is the best approach. If you find something which is faster, please open a separated issue. But a security fix in a super stable branch (2.7) is not the right place to experiment optimization :-) Correctness matters more here ;-) |
Sorry, something went wrong.
|
Updated!
Okay, I will take a look at it :) |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM, thanks. It's now better than the first version of the PR ;-)
Sorry, something went wrong.
https://bugs.python.org/issue38243