From wosch@panke.de.freebsd.org Sun Feb 21 06:11:22 1999
Return-Path: <wosch@panke.de.freebsd.org>
Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14])
	by hub.freebsd.org (Postfix) with ESMTP id 8AF0510E79
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Feb 1999 06:11:05 -0800 (PST)
	(envelope-from wosch@panke.de.freebsd.org)
Received: (from uucp@localhost)
	by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id PAA14201
	for FreeBSD-gnats-submit@freebsd.org; Sun, 21 Feb 1999 15:11:05 +0100 (CET)
	(envelope-from wosch@panke.de.freebsd.org)
Received: (from wosch@localhost)
	by paula.panke.de.freebsd.org (8.9.3/8.8.8) id NAA02686;
	Sun, 21 Feb 1999 13:55:25 +0100 (CET)
	(envelope-from wosch)
Message-Id: <199902211255.NAA02686@paula.panke.de.freebsd.org>
Date: Sun, 21 Feb 1999 13:55:25 +0100 (CET)
From: Wolfram Schneider <wosch@panke.de.freebsd.org>
Reply-To: wosch@panke.de.freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: http://www.freebsd.org/cgi/query-pr.cgi?pr=5038
X-Send-Pr-Version: 3.2

>Number:         10182
>Category:       docs
>Synopsis:       http://www.freebsd.org/cgi/query-pr.cgi?pr=5038
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 21 06:20:01 PST 1999
>Closed-Date:    Mon Aug 23 19:53:30 PDT 1999
>Last-Modified:  Mon Aug 23 19:55:08 PDT 1999
>Originator:     Wolfram Schneider
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

Date: Fri, 19 Feb 1999 23:35:40 +0100
From: Anders Nordby <anders@fix.no>
To: www@FreeBSD.ORG
Subject: http://www.freebsd.org/cgi/query-pr.cgi?pr=5038
Message-ID: <19990219233540.A23170@totem.tihlde.hist.no>

Why is there a HTML link inside the uuencoded data on this page? It seems
you're parsing text with a # and a number after it as a HTML-link, which
isn't very good for encoded data like that. ;)

-- 
Anders Nordby ^ anders@fix.no ^ http://anders.fix.no/

>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: Tom Hukins <tom@eborcom.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: docs/10182: http://www.freebsd.org/cgi/query-pr.cgi?pr=5038
Date: Tue, 6 Apr 1999 17:48:31 +0100

 Anders Nordby wrote:
 > Why is there a HTML link inside the uuencoded data on this page?
 > It seems you're parsing text with a # and a number after it as a
 > HTML-link, which isn't very good for encoded data like that. ;)
 
 This is due to the PR reference matching regexp in query-pr.cgi.
 
 Line 206 of query-pr.cgi begins:
   $line =~ s%(\WPR[:s# \t]+)([a-z386]+\/)?([0-9]+)
 
 The uuencoded text contains the string PR#63, which query-pr.cgi
 assumes is a reference to another PR.
 
 The script could be modified to ignore uuencoded data, but the
 problem would still occur if someone includes the string PR#63 or
 similar in a patch, for example.
 
 I suggest the best way to fix this might be for query-pr.cgi to have
 an "as_text" option which doesn't do any special parsing of PRs.
 
 Tom
 

From: <jkoshy@FreeBSD.org>
To: freebsd-gnats-submit@freebsd.org
Cc: wosch@FreeBSD.org, Tom Hukins <tom@eborcom.com>
Subject: Re: docs/10182: http://www.freebsd.org/cgi/query-pr.cgi?pr=5038
Date: Fri, 6 Aug 1999 00:02:32 -0700 (PDT)

 Empirical methods of determining embedded URLs will always be, um,
 empirical :).
 
 In this particular case, a human could guess that the PR reference is
 a false hit.
 
 I'm not sure whether aiming for a 100% solution is (a) feasible or 
 (b) worth the effort.
 
 Why not close this PR?
 
 Regards,
 Koshy
 <jkoshy@freebsd.org>
 

From: Jim Mock <jim@blues.ghis.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc: jkoshy@FreeBSD.org, wosch@FreeBSD.org, tom@eborcom.com
Subject: Re: docs/10182: http://www.freebsd.org/cgi/query-pr.cgi?pr=5038
Date: Sun, 22 Aug 1999 12:42:21 +1000

 Any objections to this PR being closed?  I'll close it tomorrow if no
 one speaks up by then.
 
 -- 
 - Jim Mock - jim@blues.ghis.net - systems administrator - ghis.NET -
 - work: http://www.ghis.net/ - personal: http://www.ghis.net/~jim/ -
 - FreeBSD 'zine: http://www.freebsdzine.org/ - jim@freebsdzine.org -
 - The FreeBSD Project -- http://www.FreeBSD.org/ - jim@FreeBSD.org -
 
State-Changed-From-To: open->closed 
State-Changed-By: jim 
State-Changed-When: Mon Aug 23 19:53:30 PDT 1999 
State-Changed-Why:  
Explained by jkoshy in a follow-up and no reply to my follow-up so 
I'm closing it. 
>Unformatted:
