On Thu, Dec 22, 2016 at 4:37 AM, Trent W. Buck <trentb...@gmail.com> wrote:
> Package: lintian
> Version: 2.5.30+deb8u4
> Severity: minor
>
> While making a package I got this from lintian:
>
>     E: foo: privacy-breach-w3c-valid-html usr/foo/foo.html 
> (http://www.w3.org/icons/valid-xhtml10.png)
>
> However the actual URL in the file has an uppercase I in Icons:
>
>     http://www.w3.org/Icons/valid-xhtml10.png
>
> This misleading error confused me and I wasted half an hour trying to
> download the wrong URL (which 404s).
>
> Attached is a simple shell script which reproduces the problem.
>
> This file looks relevant, but I can't understand where the downcasing 
> actually happens:
>
>     /usr/share/lintian/data/files/privacy-breaker-websites

We compare only lowercase string in order to be quicker. I think we
should document it
>
>
> If it is easy to do so,
> please avoid downcasing the path part of URLs in these lintian errors.

Reply via email to