Message212106
> LF or CR cannot be part of a URI
But they can be part of a filename, at least on POSIX systems. Are you proposing that only the Windows version of os.path.join strip LF/CR?
I don't think that it up to the join function to validate the path, and certainly not to modify the substrings. Would you expect it to complain about this? os.path.join('/', 'AUX')? (AUX is a reserved name and forbidden for file names under Windows.)
I don't think it is up to join to validate that the path generated is legal, so I don't think this is a bug in join. |
|
Date |
User |
Action |
Args |
2014-02-24 15:03:12 | steven.daprano | set | recipients:
+ steven.daprano, ExtraVeral |
2014-02-24 15:03:12 | steven.daprano | set | messageid: <1393254192.18.0.213175338918.issue20761@psf.upfronthosting.co.za> |
2014-02-24 15:03:12 | steven.daprano | link | issue20761 messages |
2014-02-24 15:03:11 | steven.daprano | create | |
|