Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 56436
Status: rejected
Priority: 0/
Queue: CGI

People
Owner: MARKSTOS [...] cpan.org
Requestors: eric_a_benson [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From eric_a_benson [...] yahoo.com Fri Apr 9 14: 38:25 2010
MIME-Version: 1.0
X-Ymail-Osg: rp6BK8wVM1mSTBni1bhd.73WeJCqwM5ezFFtU5q8pp_3IJP 79bU4T0wAgAW_4dTaS4ZxZcSzH1SjJrLTJcaFMBKmfn4Gl7FL129I0jt1L0m MXvz_5Dlikl6X7kd9eAQYfvp4c68npFzeETeu99QKYdY2wZrKFwIwTKjCyiL yhLDTdPdYvtPnGGls55Ro8gevUt4cymqUtQeFIFsuhqs0LgnbQA6wAHr0qG3 xncOCn_hLhDftPE25Z6r0JMsoVzH.U3w7MvvNsV5E2D..K_D36YLzDGT4biI Ex._FbtFR33By_IC7n26zEjdJCS_pOfBg.oE1Q8y5VnP7TvU.aX__mNR.5bn ytT6KWPU-
X-Spam-Status: No, score=-10.599 tagged_above=-99.9 required=10 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8] autolearn=ham
X-Mailer: YahooMailRC/348.3 YahooMailWebService/0.8.102.267879
X-Yahoo-Newman-ID: 598676.58571.bm [...] omp122.mail.ac4.yahoo.com
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <407335.14332.qm [...] web65405.mail.ac4.yahoo.com>
X-Yahoo-Newman-Property: ymail-3
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -10.599
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 5D5772405BC for <cpan-bug+cgi [...] hipster.bestpractical.com>; Fri, 9 Apr 2010 14:38:25 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JdCcjLbal2xM for <cpan-bug+cgi [...] hipster.bestpractical.com>; Fri, 9 Apr 2010 14:38:23 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 5D3BB2405B8 for <bug-cgi [...] rt.cpan.org>; Fri, 9 Apr 2010 14:38:23 -0400 (EDT)
Received: (qmail 28915 invoked by uid 103); 9 Apr 2010 18:38:25 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 9 Apr 2010 18:38:25 -0000
Received: from n13.bullet.mail.ac4.yahoo.com (HELO n13.bullet.mail.ac4.yahoo.com) (74.6.228.93) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Fri, 09 Apr 2010 11:38:19 -0700
Received: from [76.13.12.65] by n13.bullet.mail.ac4.yahoo.com with NNFMP; 09 Apr 2010 18:38:16 -0000
Received: from [76.13.10.181] by t6.bullet.mail.ac4.yahoo.com with NNFMP; 09 Apr 2010 18:38:16 -0000
Received: from [127.0.0.1] by omp122.mail.ac4.yahoo.com with NNFMP; 09 Apr 2010 18:38:16 -0000
Received: (qmail 23350 invoked by uid 60001); 9 Apr 2010 18:38:16 -0000
Received: from [67.183.19.93] by web65405.mail.ac4.yahoo.com via HTTP; Fri, 09 Apr 2010 11:38:16 PDT
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] yahoo.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=eric_a_benson [...] yahoo.com
Delivered-To: cpan-bug+cgi [...] hipster.bestpractical.com
Subject: Unicode trouble with FCGI-0.69 and higher using Mason with CGI::Fast
Domainkey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=eAOX0NlDlxbFqMER4ED4Zv+OtDo5NQiZmRl3DW2j/iqaOzS7B6y6EDe6Pr9QTwQYXqhLqd1YqAtQHwIGmqtWTKLeHFChXpXVVR4bW4oFdy9jVqJ3N93YhDfbNGc3lwiNUwsh39eNv9PxMlyCK0zxUdMPPviaptI4OpYclUoPixc=;
Return-Path: <eric_a_benson [...] yahoo.com>
X-RT-Mail-Extension: cgi
X-Original-To: cpan-bug+cgi [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1270838296; bh=+GRTNmSAHyzlAU3TyQ1H50AuWVQ4qt9tfjrEFgctzsw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=np3JhU+oeihluUkCbe2ONAZNXYlmqd+8cYIb0Ob4uugXhRfRXIWYxowGbiWENQf1d9Ix66jtxrQ11gmQplc3XDE1JKe+i5oK165BoCQKG0zWS+ZQ8BtVUP2sgrd6Zby+ndmX9/p0uOe4O4ZDgY5pPzwStofo69l0O5QakKwQjA0=
Date: Fri, 9 Apr 2010 11:38:16 -0700 (PDT)
X-Spam-Level:
To: mason-users [...] lists.sourceforge.net, bug-FCGI [...] rt.cpan.org, bug-CGI [...] rt.cpan.org
From: Eric Benson <eric_a_benson [...] yahoo.com>
X-RT-Original-Encoding: us-ascii
Content-Length: 2539
Download (untitled) / with headers
text/plain 2.4k
I'm sending this bug report to the mason-users list as well as the bug reporting mail addresses for the CGI and FCGI Perl modules. A change in Unicode string handling in the FCGI module between version 0.68 and 0.69 is causing problems for Mason applications deployed with FastCGI, using the CGI::Fast module. I observed this problem in my own application and discovered by searching the Internet that it had been reported previously. The ChangeLog for FCGI shows this entry for version 0.68_01: o Fix UTF-8 double encoding when FCGI is passed octets by downgrading them into bytes correctly. Fixes RT#52400 <chansen@cpan.org> This appears to be the source of the trouble. A problem report was sent to the mason-users list on March 10 as well as the Request Tracker Users list on March 15 by Vitaly Tskhovrebov: ---------------------------------------------------------------------------------------------- Hello. I'm trying to use mason with RT 3.8.7 and when I starting it with FCGI_SOCKET_PATH=/opt/rt3/var/nginx/rt3.fcgi.socket perl /opt/rt3/bin/mason_handler.fcgi & and trying to browse to, it may return this error: Wide character in FCGI::Stream::PRINT at /usr/lib64/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 106, line 323. I believe that's related to utf-8 handling, but I Can't understand how to turn on utf-8 by default at whole mason's engine. ----------------------------------------------------------------------------------------------- He received this response on the Request Tracker Users list from Ruslan Zakirov: ----------------------------------------------------------------------------------------------- Hello Vitaly. Downgrade FCGI module to version 0.68. ----------------------------------------------------------------------------------------------- Vitaly reported that this solved his problem and I also observed that it solved the problem in my application. However, obviously we cannot rely on an obsolete version of a Perl module forever, especially since subsequent versions of FCGI have fixes needed for upcoming Perl version 5.12. Clearly the change described in version 0.68_01 was desired to fix some application, but it seems to have broken other applications. It seems that either that change to FCGI should be modified so that Mason applications with UTF-8 work, or Mason itself should be modified, or the CGI::Fast module should be modified. Perhaps a new parameter is required to be supplied to CGI::Fast or HTML::Mason::CGIHandler to make it UTF-8 aware.
MIME-Version: 1.0
In-Reply-To: <407335.14332.qm [...] web65405.mail.ac4.yahoo.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <407335.14332.qm [...] web65405.mail.ac4.yahoo.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2360-1290283734-1454.56436-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
RT-Send-CC: mason-users [...] lists.sourceforge.net, bug-FCGI [...] rt.cpan.org
Content-Length: 341
Download (untitled) / with headers
text/plain 341b
I sounds like the root of this issue does not lie with CGI.pm or CGI::Fast. However, if a specific patch to CGI::Fast is proposed, it will be considered. Until a specific proposal is made, I am marking this issue as stalled in the CGI.pm bug tracking queue. Please let us know if the bug is addressed elsewhere in the meantime. Mark
From mason-users-bounces [...] lists.sourceforge.net Sat Nov 20 15: 42:19 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-7.78 tagged_above=-99.9 required=10 tests=[AWL=-2.133, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HS_INDEX_PARAM=0.574, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
Errors-To: mason-users-bounces [...] lists.sourceforge.net
X-Spam-Flag: NO
RT-Squelch-Replies-To: mason-users-owner [...] lists.sourceforge.net
X-Mailman-Version: 2.1.9
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
RT-Detectedautogenerated: true
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Content-Type: multipart/mixed; boundary="===============0789531344195304002=="
Message-ID: <mailman.61973.1290285727.5007.mason-users [...] lists.sourceforge.net>
X-Spam-Score: -7.78
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=mason-users-owner [...] lists.sourceforge.net
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 0357C241034 for <cpan-bug+cgi.pm [...] hipster.bestpractical.com>; Sat, 20 Nov 2010 15:42:19 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id maHM-GSjaFa7 for <cpan-bug+cgi.pm [...] hipster.bestpractical.com>; Sat, 20 Nov 2010 15:42:17 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 9A0CF2410AD for <bug-cgi.pm [...] rt.cpan.org>; Sat, 20 Nov 2010 15:42:16 -0500 (EST)
Received: (qmail 4439 invoked by uid 103); 20 Nov 2010 20:42:15 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 20 Nov 2010 20:42:15 -0000
Received: from lists.sourceforge.net (HELO lists.sourceforge.net) (216.34.181.88) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Sat, 20 Nov 2010 12:42:12 -0800
Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from <mason-users-bounces [...] lists.sourceforge.net>) id 1PJuGA-0008M3-1e for bug-cgi.pm [...] rt.cpan.org; Sat, 20 Nov 2010 20:42:10 +0000
Delivered-To: cpan-bug+cgi.pm [...] hipster.bestpractical.com
Subject: [rt.cpan.org #56436] Unicode trouble with FCGI-0.69 and higher using Mason with CGI::Fast
Domainkey-Signature: a=rsa-sha1; q=dns; c=simple; s=beta; d=lists.sourceforge.net; h=Received:Subject:From:To:MIME-Version:Content-Type:Message-ID:Date:Precedence:X-BeenThere:X-Mailman-Version:List-Id:X-List-Administrivia:Errors-To; b=O6kjWlilRO29UsQsZRe8+F1ABV/pliSjIETDGOU1utAc7JBxv3sI53CErfF0l/0WcXM24FsftBMQ6qW2Iz1xYx6GTCzrB/o7UR39USccyh2abdgkCOuGCPiT1NwjecLi+iiz/CVfsobbWdoP6rs/Qa1g/3RLFNw4+SLNC9+pRy4=;
Return-Path: <mason-users-bounces [...] lists.sourceforge.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+cgi.pm [...] hipster.bestpractical.com
X-RT-Mail-Extension: cgi.pm
Date: Sat, 20 Nov 2010 20:42:07 +0000
X-Spam-Level:
Precedence: bulk
X-List-Administrivia: yes
X-Beenthere: mason-users [...] lists.sourceforge.net
To: bug-cgi.pm [...] rt.cpan.org
List-ID: Main user's list for Mason <mason-users.lists.sourceforge.net>
From: mason-users-owner [...] lists.sourceforge.net
RT-Message-ID: <rt-3.8.HEAD-2356-1290285739-1013.56436-0-0 [...] rt.cpan.org>
Content-Length: 0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 106
Download (untitled) / with headers
text/plain 106b
You must be subscribed to post to this list. See http://www.masonhq.com/?YouMustBeSubscribedToPost
MIME-Version: 1.0
Content-Type: message/rfc822
X-RT-Original-Encoding: ascii
Content-Length: 0
CC: mason-users [...] lists.sourceforge.net, bug-FCGI [...] rt.cpan.org
MIME-Version: 1.0
In-Reply-To: <407335.14332.qm [...] web65405.mail.ac4.yahoo.com>
X-Headers-End: 1PJuG5-0002qQ-AK
References: <RT-Ticket-56436 [...] rt.cpan.org> <407335.14332.qm [...] web65405.mail.ac4.yahoo.com>
X-Acl-Warn:
Reply-To: bug-CGI.pm [...] rt.cpan.org
Message-ID: <rt-3.8.HEAD-2360-1290283734-113.56436-7-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
RT-Originator: MARKSTOS [...] cpan.org
X-RT-Original-Encoding: utf-8
X-Spam-Score: 1.2 (+)
Managed-BY: RT 3.8.HEAD (http://www.bestpractical.com/rt/)
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from <rtcpan [...] cpan.rt.develooper.com>) id 1PJuG6-0008Lr-G1 for mason-users [...] lists.sourceforge.net; Sat, 20 Nov 2010 20:42:06 +0000
Received: from cpan.rt.develooper.com ([207.171.7.181]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.69) id 1PJuG5-0002qQ-AK for mason-users [...] lists.sourceforge.net; Sat, 20 Nov 2010 20:42:06 +0000
Received: by cpan.rt.develooper.com (Postfix, from userid 536) id 21C7A704B; Sat, 20 Nov 2010 12:08:55 -0800 (PST)
Subject: [rt.cpan.org #56436] Unicode trouble with FCGI-0.69 and higher using Mason with CGI::Fast
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 MISSING_HEADERS Missing To: header
Date: Sat, 20 Nov 2010 15:08:55 -0500
RT-Ticket: rt.cpan.org #56436
Precedence: normal
X-RT-Loop-Prevention: rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: "MARKSTOS via RT" <bug-CGI.pm [...] rt.cpan.org>
Content-Length: 401
Download (untitled) / with headers
text/plain 401b
<URL: https://rt.cpan.org/Ticket/Display.html?id=56436 > I sounds like the root of this issue does not lie with CGI.pm or CGI::Fast. However, if a specific patch to CGI::Fast is proposed, it will be considered. Until a specific proposal is made, I am marking this issue as stalled in the CGI.pm bug tracking queue. Please let us know if the bug is addressed elsewhere in the meantime. Mark
MIME-Version: 1.0
In-Reply-To: <407335.14332.qm [...] web65405.mail.ac4.yahoo.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <407335.14332.qm [...] web65405.mail.ac4.yahoo.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2604-1321067811-1485.56436-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 119
Download (untitled) / with headers
text/plain 119b
Resolving due to inactivity. Let us know if there's something specific in CGI::Fast that you would propose to change.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.