From nobody@FreeBSD.org Tue Jul 3 12:44:15 2007 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBD9D16A421 for ; Tue, 3 Jul 2007 12:44:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id DD73D13C469 for ; Tue, 3 Jul 2007 12:44:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l63CiFnk007998 for ; Tue, 3 Jul 2007 12:44:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l63CiFXd007997; Tue, 3 Jul 2007 12:44:15 GMT (envelope-from nobody) Message-Id: <200707031244.l63CiFXd007997@www.freebsd.org> Date: Tue, 3 Jul 2007 12:44:15 GMT From: c_O To: freebsd-gnats-submit@FreeBSD.org Subject: web site 404 page go back url error X-Send-Pr-Version: www-3.0 >Number: 114238 >Category: www >Synopsis: web site 404 page go back url error >Confidential: no >Severity: non-critical >Priority: low >Responsible: wosch >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 03 12:50:06 GMT 2007 >Closed-Date: Sun Jul 08 12:28:40 GMT 2007 >Last-Modified: Sun Jul 8 12:30:04 GMT 2007 >Originator: c_O >Release: FreeBSD 6.2-RELEASE-p5 >Organization: c_O >Environment: $ uname -rsm FreeBSD 6.2-RELEASE-p5 i386 >Description: When you open a link page not exist on freebsd website,it will bring you to a "Document not found page". in this page the "You are coming from"(when you want to go back) url will not bring you back. >How-To-Repeat: 1) open http://www.freebsd.org/releases/7.0R/approvals.html, 2) click "FreeBSD 7.0 developer todo list"(the page which is not exist right now). 3)click "You are coming from http://www.freebsd.org/releases/7.0R/approvals.html" in Document not found page it will bring you to http://www%2efreebsd%2eorg/releases/7.0R/approvals%2ehtml (the page will not be displayed) >Fix: in www/en/cgi/missing_handler.cgi line 78,some characters in $http_referer_url has been replaced. replace $http_referer. to $http_referer. in line 97 will fix this problem. >Release-Note: >Audit-Trail: From: vee To: bug-followup@freebsd.org, bsd@inbox.com Cc: Subject: Re: www/114238: web site 404 page go back url error Date: Tue, 3 Jul 2007 05:28:45 -0800 i tested seems it only effect firefox? Responsible-Changed-From-To: freebsd-www->wosch Responsible-Changed-By: remko Responsible-Changed-When: Thu Jul 5 06:04:27 UTC 2007 Responsible-Changed-Why: Hi there, Can you please have a look at this? You wrote the missing_handler script and I dont really understand why this happends (the escape functions that are being used dont encode the dot character as far as I can see; but in the results that happends. in addittion as the submitter mentions; this only happends when we call the escape2 routine). Thanks in advance! http://www.freebsd.org/cgi/query-pr.cgi?pr=114238 From: vee To: vee , bug-followup@freebsd.org Cc: Subject: Re: www/114238: web site 404 page go back url error Date: Sat, 7 Jul 2007 17:48:23 -0800 i think escape2 doesn't effect this. 78: =24http_referer_url =3D=7E = s/(=5B=5Ea-zA-Z0-9;=5C/?:&=3D=5D)/sprintf(=22%%%02x=22,ord(=241))/eg; i think in this line something have been replaced just replace =24http_referer_url with =24http_referer in line 97 should = fix this XD State-Changed-From-To: open->closed State-Changed-By: wosch State-Changed-When: Sun Jul 8 12:28:16 UTC 2007 State-Changed-Why: Fixed. Thanks for the note! http://www.freebsd.org/cgi/query-pr.cgi?pr=114238 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: www/114238: commit references a PR Date: Sun, 8 Jul 2007 12:28:16 +0000 (UTC) wosch 2007-07-08 12:28:11 UTC FreeBSD doc repository Modified files: en/cgi missing_handler.cgi Log: fix character encoding in referer link PR: www/114238 Revision Changes Path 1.19 +3 -3 www/en/cgi/missing_handler.cgi _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" >Unformatted: