|
Bug#539442: libvformat1: space and tab uncorrectly handled when unfolding: msg#08729debian-bugs-dist
Package: libvformat1 Version: 1.13-4 Severity: normal Tags: patch 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." -- System Information: Debian Release: 5.0 APT prefers jaunty-updates APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty') Architecture: i386 (i686) Kernel: Linux 2.6.28-14-generic (SMP w/1 CPU core) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |