Return-Path: X-Original-To: apmail-perl-embperl-archive@www.apache.org Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB576FD3D for ; Fri, 3 May 2013 13:37:28 +0000 (UTC) Received: (qmail 88712 invoked by uid 500); 3 May 2013 13:37:28 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 88549 invoked by uid 500); 3 May 2013 13:37:28 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 88531 invoked by uid 99); 3 May 2013 13:37:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 13:37:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [188.40.65.50] (HELO srvgr1.ubrichter.de) (188.40.65.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 13:37:23 +0000 Received: from srvgr1.ubrichter.de (localhost [127.0.0.1]) by srvgr1.ubrichter.de (Postfix) with ESMTP id 72C12294B6D; Fri, 3 May 2013 15:36:41 +0200 (CEST) Subject: AW: handling query strings with ? in From: =?windows-1252?Q?Gerald_Richter_-_ECOS?= To: =?windows-1252?Q?Michael_Stevens?= , =?windows-1252?Q?embperl=40perl=2Eapache=2Eorg?= Date: Fri, 3 May 2013 15:36:41 +0200 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_FRXw0y321KlJE8Dyp0ajgBIEMcGjghWKM088hZYLoXYMErcg" In-Reply-To: References: X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.3-40304 Thread-Index: Ac5IAz3nw9ed3IqSTqOC8yccN3HDvQ== Message-Id: X-Virus-Checked: Checked by ClamAV on apache.org --=_FRXw0y321KlJE8Dyp0ajgBIEMcGjghWKM088hZYLoXYMErcg Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable > Is there anything that can be done to make embperl behave more as expec= ted=3F=0D=0A=0D=0A=A0=0D=0AWhat is what you would expect=3F I think the w= ay CGI.pm is correct regarding the specs. Is that what you would expect=3F= =0D=0A=0D=0A=A0=0D=0AGerald=0D=0A=0D=0A=A0=0D=0A=A0=0D=0AVon: Michael Ste= vens [mailto:michael.stevens@dianomi.com]=20=0D=0AGesendet: Freitag, 3. M= ai 2013 15:05=0D=0AAn: embperl@perl.apache.org=0D=0ABetreff: handling que= ry strings with =3F in=0D=0A=0D=0A=A0=0D=0AHi.=0D=0A=0D=0A=A0=0D=0AWe're = trying to handle some odd query strings in embperl, eg:=0D=0A=0D=0A=A0=0D= =0Ahttp://www.example.com/mjs/q.epl=3Fa=3Db=3Fc=3Dd =20=0D=0A=0D=0A=A0=0D=0Aembperl parses this = as:=0D=0A=0D=0A=A0=0D=0AUsing %fdat=0D=0A=0D=0AField=0D=0A=0D=0A=09Value=0D= =0A=0D=0Aa b=3Fc=0D=0A=0D=0A=09d=0D=0A=0D=0A=A0=0D=0ACGI.pm parses this a= s:=0D=0A=0D=0A=A0=0D=0AUsing CGI.pm=0D=0A=0D=0AField=0D=0A=0D=0A=09Value=0D= =0A=0D=0Aa=0D=0A=0D=0A=09b=3Fc=3Dd=0D=0A=0D=0A=A0=0D=0AI agree that these= are some pretty bizarre queries, but annoyingly we can't change the sour= ce, and embperl seems to handle them pretty badly. Googling suggests =3F = in a query string is probably valid, eg:=0D=0A=0D=0A=A0=0D=0Ahttp://www.4= 56bereastreet.com/archive/201008/what_characters_are_allowed_unencoded_in= _query_strings/ =20=0D=0A=0D=0A=A0=0D=0AIs t= here anything that can be done to make embperl behave more as expected=3F= =0D=0A=0D=0A=A0=0D=0A--=A0=0D=0A=0D=0AMichael Stevens=0D=0A=0D=0ADianomi = Ltd=0D=0A18 Buckingham Gate=0D=0ALondon SW1E 6LB=0D=0A=0D=0ATel: 020 3463= 5662=0D=0AFax: 020 7630 7356=0D=0Awww.dianomi.com =20=0D=0A=0D=0AThe information in this message and any attachment is in= tended for the addressee and is confidential and may be subject to legal = privilege. Dianomi Ltd, Registered Office: One America Square, Crosswall,= London. EC3N 2SG. Registered in England and Wales with Company Registrat= ion Number 4513809. VAT registration number: 809754988=20=0D=0A=0D=0A --=_FRXw0y321KlJE8Dyp0ajgBIEMcGjghWKM088hZYLoXYMErcg Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable