From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 5 14:40:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98B6D16A4D4 for ; Mon, 5 Jul 2004 14:40:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76CCF43D5D for ; Mon, 5 Jul 2004 14:40:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i65EeOdo091399 for ; Mon, 5 Jul 2004 14:40:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i65EeOZj091398; Mon, 5 Jul 2004 14:40:24 GMT (envelope-from gnats) Resent-Date: Mon, 5 Jul 2004 14:40:24 GMT Resent-Message-Id: <200407051440.i65EeOZj091398@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew McNaughton Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE76E16A4CE for ; Mon, 5 Jul 2004 14:31:08 +0000 (GMT) Received: from a2.scoop.co.nz (aurora.scoop.co.nz [203.96.152.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id E998643D45 for ; Mon, 5 Jul 2004 14:31:07 +0000 (GMT) (envelope-from andrew@scoop.co.nz) Received: from a2.scoop.co.nz (localhost [127.0.0.1]) by a2.scoop.co.nz (8.12.11/8.12.11) with ESMTP id i65EV6HG083116 for ; Tue, 6 Jul 2004 02:31:06 +1200 (NZST) (envelope-from andrew@a2.scoop.co.nz) Received: (from root@localhost) by a2.scoop.co.nz (8.12.11/8.12.8/Submit) id i65EV6dT083115; Tue, 6 Jul 2004 02:31:06 +1200 (NZST) (envelope-from andrew) Message-Id: <200407051431.i65EV6dT083115@a2.scoop.co.nz> Date: Tue, 6 Jul 2004 02:31:06 +1200 (NZST) From: Andrew McNaughton To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68696: p5-Class-DBI version update needed 0.95 -> 0.96 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew McNaughton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 14:40:24 -0000 >Number: 68696 >Category: ports >Synopsis: p5-Class-DBI version update needed 0.95 -> 0.96 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jul 05 14:40:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Andrew McNaughton >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD a2.scoop.co.nz 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Jul 2 05:42:59 NZST 2004 andrew@a2.scoop.co.nz:/usr/obj/usr/src/sys/wal-20040406-01 i386 >Description: Some sort of version incompatibility exists between Class::DBI, Class::DBI::FromCGI and CGI::Untaint::url. When trying to enter form data with a field of type url, CGI::Untaint::url returns an object of type URI::URL. Somewhere along the chain en-route to the database this needs to be cast as a string. Updating Class::DBI from version 0.95 (currently in ports) to 0.96 seems to fix the problem just fine. I haven't dug into the code to locate the relevant change. I'm not sure if it's relevant, but I'm using mysql and Class::DBI::mysql I'm not sure if it's relevant, but I'm using mysql-4.1.2 and Class::DBI::mysql from ports. Note that CGI::Untaint::url is not yet in ports. I'll fix that shortly. It's readily available from CPAN. I haven't verified this, but i suspect that CGI::Untaint::date might cause similar problems, as it returns an object also. I'm not sure if it's relevant, but I'm using mysql and Class::DBI::mysql >How-To-Repeat: It's a bit tangled in other code. If you really want this, contact me and I'll put something together. >Fix: change PORTVERSION in /usr/ports/databases/p5-Class-DBI/Makefile from 0.95 to 0.96 make makesum make deinstall reinstall >Release-Note: >Audit-Trail: >Unformatted: