Date: Fri, 7 May 2010 18:49:26 +0200 (CEST) From: olli hauer <ohauer@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ohauer@gmx.de Subject: ports/146379: [patch] port devel/viewvc , viewvc bug_id:454 Message-ID: <20100507164926.4A5FB26228@u18-124.dsl.vianetworks.de> Resent-Message-ID: <201005071650.o47Go59C062324@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146379 >Category: ports >Synopsis: [patch] port devel/viewvc , viewvc bug_id:454 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 07 16:50:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: olli hauer <ohauer@gmx.de> >Release: >Organization: >Environment: >Description: ViewVC generates a Python AttributeError exception for certain URLs related to "view=log" and "pathrev=nnn" see: http://viewvc.tigris.org/issues/show_bug.cgi?id=454 >How-To-Repeat: >Fix: --- patch_viewvc.txt begins here --- Index: Makefile =================================================================== --- Makefile 2010-05-05 23:52:20.000000000 +0200 +++ Makefile 2010-05-07 18:39:46.000000000 +0200 @@ -7,7 +7,7 @@ PORTNAME= viewvc PORTVERSION= 1.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= http://viewvc.tigris.org/files/documents/3330/47458/ \ LOCAL/pgollucci Index: files/patch-lib__sapi.py =================================================================== --- files/patch-lib__sapi.py +++ files/patch-lib__sapi.py @@ -0,0 +1,10 @@ +--- ./lib/sapi.py.orig 2010-03-29 17:32:43.000000000 +0200 ++++ ./lib/sapi.py 2010-05-07 18:36:29.000000000 +0200 +@@ -33,6 +33,7 @@ + # that character as-is, and sometimes needs to embed escaped values + # into HTML attributes. + def escape(s): ++ s = str(s) + s = string.replace(s, '&', '&') + s = string.replace(s, '>', '>') + s = string.replace(s, '<', '<') --- patch_viewvc.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100507164926.4A5FB26228>