New submission from Tiberiu Dragulinescu:
>>>d="asdasd"+chr(10)
>>>print os.path.normpath(os.path.join('a/b',d,'d'))
a\b\asdasd
\d
LF or CR cannot be part of a URI (rfc1738)
----------
components: Windows
messages: 212099
nosy: ExtraVeral
priority: normal
severity: normal
status: open
title: os.path.join doesn't strip LF or CR
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20761>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com