Bug#646985: lintian: vcs-* fields containing new-lines
On 2011-10-29 02:56, Russ Allbery wrote:
> Niels Thykier <niels@thykier.net> writes:
>
>> From lintian.d.o:
>
>> libfax-hylafax-client-perl (1.02-1):
>> [...]
>> vcs-field-uses-unknown-uri-format
>
>> vcs-browser \n http://svn.debian.org/wsvn/pkg-perl/trunk/libfax-hylafax-client-perl/
>
>> The check should probably ignore newlines.
>
> I think there's another open bug about this somewhere. The question is
> whether it's safe to have newlines in those fields and if all the parsers
> handle it. This isn't something that one can necessarily assume; simple
> fields may not be folded, and there are quite a few simple fields in the
> debian/control syntax that will break some parsers if folded.
>
True, but then we should emit a "multiline-field" tag instead of the "\n
$url" error, which just looks like lintian is broken.
~Niels
Reply to: