Public bug reported: A leading SPACE of a folded line is incorrectly added to the current string and a TAB makes the string end prematurely.
The attached test case prints 1234567890 abcdefghij while the expected behaviour is 1234567890abcdefghij1234567890 According to paragraph 5.8.1. of RFC 2425 both SPACE and TAB should be ignored: " A logical line MAY be continued on the next physical line anywhere between two characters by inserting a CRLF immediately followed by a single white space character (space, ASCII decimal 32, or horizontal tab, ASCII decimal 9). At least one character must be present on the folded line. Any sequence of CRLF followed immediately by a single white space character is ignored (removed) when processing the content type." ProblemType: Bug Architecture: i386 Date: Sat Jun 7 12:17:18 2008 DistroRelease: Ubuntu 8.04 Package: libvformat1 1.13-4 PackageArchitecture: i386 ProcEnviron: SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=it_IT.UTF-8 SourcePackage: libvformat Uname: Linux 2.6.24-18-generic i686 ** Affects: libvformat (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug -- space and tab uncorrectly handled when unfolding https://bugs.launchpad.net/bugs/238119 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs