Comment 5 for bug 3918

Revision history for this message
Martin Pool (mbp) wrote : Re: bzr doesn't handle filenames with newlines

Still confirmed, but wishlist because it's quite an edge case.

I don't see any very strong reason to disallow such filenames - it should be treated as just another unicode character for storage, and represented in some sensible way for display.

So, fix this in stauts, diff, etc. And add tests for all cases.

(It's also possible on unix to create files whose name is not decodable as unicode, e.g. by inserting control characters, and those really can be disallowed.)