cvsweb bug in 3.0.0

Brad Tofel brad at archive.org
Wed May 5 16:10:59 PDT 2004


need an &htmlquote() in a few places to protect HTML chars in the actual
diff:

Note that I've only tested 1 of these changed branches needed for my
purposes, and probably missed another one or two needed, but it's easy to
see the problem and the fix..

Brad


3361c3361
<       printf(<<EOF, scalar(@$leftColRef[$j]));
---
>       printf(<<EOF, &htmlquote(scalar(@$leftColRef[$j])));
3711c3711
<           printf(<<EOF, $_);
---
>           printf(<<EOF, &htmlquote($_));
3727c3727
<         printf(<<EOF, $_, $_);
---
>         printf(<<EOF, &htmlquote($_), &htmlquote($_));




More information about the freebsd-cvsweb mailing list