Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-38945: UU Encoding: Removed newline characters from uu encoding methods #17418
Conversation
This comment has been minimized.
This comment has been minimized.
the-knights-who-say-ni
commented
Nov 30, 2019
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
AFAIK This PR needs tests and a BPO issue |
This comment has been minimized.
This comment has been minimized.
It definitely,needs tests. It's been discussed privately, no bpo issue is
needed.
|
This comment has been minimized.
This comment has been minimized.
I take it back, it needs both a bpo issue and tests. |
This comment has been minimized.
This comment has been minimized.
This is a security issue and needs backports to all live versions. I expect that the 2.7 backport will need some manual help, as the code is superficially different there. |
LGTM. Waiting for CLA and news blurb. @stealthcopter: Can you add a news blurb per instructions from the failing test? (If you can't let me know and I can see if I can remember how to do it.) |
This comment has been minimized.
This comment has been minimized.
@stealthcopter Are you sure you submitted the CLA properly? |
This comment has been minimized.
This comment has been minimized.
@gvanrossum I just clicked on the 'check yourself' link and it looks like it kicked it into working :) |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Dec 2, 2019
Thanks @stealthcopter for the PR, and @gvanrossum for merging it |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 2, 2019
@gvanrossum: Please replace |
…put format (pythonGH-17418) (cherry picked from commit a62ad47) Co-authored-by: Matthew Rollings <1211162+stealthcopter@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 2, 2019
GH-17442 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 2, 2019
GH-17443 is a backport of this pull request to the 3.7 branch. |
This comment has been minimized.
This comment has been minimized.
Thanks! I didn't even know that that feature existed. :-) Now on to the backports. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 2, 2019
GH-17444 is a backport of this pull request to the 3.6 branch. |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Dec 2, 2019
Sorry, @stealthcopter and @gvanrossum, I could not cleanly backport this to |
…put format (pythonGH-17418) (cherry picked from commit a62ad47) Co-authored-by: Matthew Rollings <1211162+stealthcopter@users.noreply.github.com>
…put format (pythonGH-17418) (cherry picked from commit a62ad47) Co-authored-by: Matthew Rollings <1211162+stealthcopter@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
@stealthcopter Can you try the 2.7 backport? I think it's simple enough, there's an unrelated change on a nearby line. |
This comment has been minimized.
This comment has been minimized.
@gvanrossum yup no problem, I'll get this done tomorrow. |
…put format (pythonGH-17418) (pythonGH-17444) (cherry picked from commit a62ad47) Co-authored-by: Matthew Rollings <1211162+stealthcopter@users.noreply.github.com>
…he output format (pythonGH-17418). (cherry picked from commit a62ad47) Co-authored-by: Matthew Rollings <1211162+stealthcopter@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Dec 3, 2019
GH-17452 is a backport of this pull request to the 2.7 branch. |
This comment has been minimized.
This comment has been minimized.
Ok, think I've done it all now, sorry for the delay I had a bit of a battle with git. |
…put format (python#17418)
stealthcopter commentedNov 30, 2019
•
edited by bedevere-bot
@gvanrossum as discussed via email here is the PR for the uu encoding bug.
Sanitized filenames in UU encoding methods so that the filename cannot be overflowing in the UU encoded content area.
https://bugs.python.org/issue38945