Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2004 16:01:25 -0700
From:      "Brad Tofel" <brad@archive.org>
To:        <freebsd-cvsweb@FreeBSD.org>
Subject:   cvsweb bug in 3.0.0
Message-ID:  <03c901c432f4$e6bd9650$3af0edd1@WORKSTATION17>

next in thread | raw e-mail | index | archive | help
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($_));




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03c901c432f4$e6bd9650$3af0edd1>