public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: Lars Henriksen <Lars.Henriksen@netman.dk>
To: Dieperink Alwin <alwin.dieperink@elca.ch>
Cc: "'help-gnats@gnu.org'" <help-gnats@gnu.org>
Cc: "'yngve.svendsen@sun.com'" <yngve.svendsen@sun.com>
Subject: Re: Very small bug
Date: Wed, 08 Jan 2003 13:38:00 -0000	[thread overview]
Message-ID: <20030108133131.GA1156578@cluster2.netman.dk> (raw)
In-Reply-To: <A13B47F8EC3FD111A91500C04FD2A282021FA592@exchange.elca.ch>

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

  parent reply	other threads:[~2003-01-08 13:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08  1:18 Dieperink Alwin
2003-01-08 13:13 ` Yngve Svendsen
2003-01-08 13:38 ` Lars Henriksen [this message]
2003-01-08 13:58   ` Yngve Svendsen
2003-04-29 19:56   ` Yngve Svendsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030108133131.GA1156578@cluster2.netman.dk \
    --to=lars.henriksen@netman.dk \
    --cc=alwin.dieperink@elca.ch \
    --cc=help-gnats@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).