From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29916 invoked from network); 8 Jan 2003 13:38:13 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by 209.249.29.67 with SMTP; 8 Jan 2003 13:38:13 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WGNo-0000l9-04 for listarch-gnats-devel@sources.redhat.com; Wed, 08 Jan 2003 08:36:36 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WGMB-0007zo-00 for help-gnats@gnu.org; Wed, 08 Jan 2003 08:34:55 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WGKi-0006BG-00 for help-gnats@gnu.org; Wed, 08 Jan 2003 08:33:55 -0500 Received: from cluster2.netman.dk ([193.88.72.48]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WGKf-00058b-00 for help-gnats@gnu.org; Wed, 08 Jan 2003 08:33:21 -0500 Received: (from lh@localhost) by cluster2.netman.dk (8.11.4/8.11.4) id h08DVVk1169159; Wed, 8 Jan 2003 14:31:31 +0100 (MET) Date: Wed, 08 Jan 2003 13:38:00 -0000 From: Lars Henriksen To: Dieperink Alwin Message-ID: <20030108133131.GA1156578@cluster2.netman.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i cc: "'help-gnats@gnu.org'" cc: "'yngve.svendsen@sun.com'" Subject: Re: Very small bug X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General discussion about GNU GNATS List-Help: List-Post: List-Subscribe: , List-Archive: Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q1/txt/msg00002.txt.bz2 On Mon, Jan 06, 2003 at 07:35:03PM +0100, Dieperink Alwin wrote: > Hi Yngve, > > Here is a small correction for gnatsweb.pl. Without this, gnatsweb writes a > warning in the logfile. > > Regards, > -- Alwin > > > 1362c1362 > < && ($2 !=~ "compatible") ) > --- > > && ($2 !~ "compatible") ) There's more. Opera (at least version 6.04) also doesn't like the double encoding. Lars Henriksen diff -u -r1.120 gnatsweb.pl --- gnatsweb.pl 8 Jan 2003 13:04:17 -0000 1.120 +++ gnatsweb.pl 8 Jan 2003 13:28:06 -0000 @@ -1357,9 +1357,10 @@ my $body = $q->escape(get_viewpr_url($pr)); # Netscape Navigator up to and including 4.x should get the URL in - # the body encoded only once - unless ( ($ENV{'HTTP_USER_AGENT'} =~ "Mozilla\/(.)(.*)") && ($1 < 5) - && ($2 !~ "compatible") ) + # the body encoded only once--and so should Opera. + unless ( + ( $ENV{'HTTP_USER_AGENT'} =~ "Mozilla\/(.)(.*)" && $1 < 5 && $2 !~ "compatible" ) + || $ENV{'HTTP_USER_AGENT'} =~ "Opera\/" ) { $body = $q->escape($body); } _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats