From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: Abaco (was Re: [9fans] smacme) From: benavento@gmail.com (Federico G. Benavento) Date: Sat, 8 Jul 2006 10:54:38 -0300 In-Reply-To: <1095b0bca7bc7b4dddf1c4693b07fa03@quanstro.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-prryctxxhhmcronvqnutmagkvo" Topicbox-Message-UUID: 7867c328-ead1-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-prryctxxhhmcronvqnutmagkvo Content-Disposition: ainline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I told you it's in the NOTES file. lotte% tail -1 /usr/fgb/src/abaco/NOTES /sys/src/libhtml/lex.c:1258 if(c == ';' ) { --upas-prryctxxhhmcronvqnutmagkvo Content-Type: message/rfc822 Content-Disposition: ainline X-Gmail-Received: e4e7af088b03893cd8439559e1a63a213bc437de Delivered-To: benavento@gmail.com Received: by 10.67.32.19 with SMTP id k19cs117396ugj; Sat, 8 Jul 2006 06:49:31 -0700 (PDT) Received: by 10.70.54.16 with SMTP id c16mr2532172wxa; Sat, 08 Jul 2006 06:49:30 -0700 (PDT) Return-Path: <9fans-bounces+benavento=gmail.com@cse.psu.edu> Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mx.gmail.com with ESMTP id i11si10593360wxd.2006.07.08.06.49.30; Sat, 08 Jul 2006 06:49:30 -0700 (PDT) Received-SPF: pass (gmail.com: domain of 9fans-bounces+benavento=gmail.com@cse.psu.edu designates 130.203.4.6 as permitted sender) Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4317F8424 for ; Sat, 8 Jul 2006 09:49:30 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 8DC9F834F for <9fans@cse.psu.edu>; Sat, 8 Jul 2006 09:49:24 -0400 (EDT) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27755-01-49 for <9fans@cse.psu.edu>; Sat, 8 Jul 2006 09:49:23 -0400 (EDT) Received: from dexter-peak.quanstro.net (dialup-4.252.204.24.Dial1.Chicago1.Level3.net [4.252.204.24]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0D69D832E for <9fans@cse.psu.edu>; Sat, 8 Jul 2006 09:49:22 -0400 (EDT) Received: from bemidji.quanstro.net (unknown [192.168.0.145]) by dexter-peak.quanstro.net (Postfix) with ESMTP id A31BD279D7D for <9fans@cse.psu.edu>; Sat, 8 Jul 2006 08:48:55 -0500 (CDT) Message-ID: <1095b0bca7bc7b4dddf1c4693b07fa03@quanstro.net> Date: Sat, 8 Jul 2006 08:38:37 -0500 From: quanstro@quanstro.net To: 9fans@cse.psu.edu Subject: Re: Abaco (was Re: [9fans] smacme) In-Reply-To: <35d3276d14af60b0ed55291221a7e197@quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Virus-Scanned: by amavisd-new at cse.psu.edu X-Spam-Status: No, hits=4.3 tagged_above=3.0 required=5.0 tests=NO_REAL_NAME, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL X-Spam-Level: **** X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+benavento=gmail.com@cse.psu.edu Errors-To: 9fans-bounces+benavento=gmail.com@cse.psu.edu Content-Transfer-Encoding: quoted-printable i did something wrong. you're right &pid is getting translated as π. = totally wrong, since entities occur in html NOT urls. but anyway, what is your fix? - erik On Sat Jul 8 08:45:32 CDT 2006, quanstro@quanstro.net wrote: > On Sat Jul 8 08:32:32 CDT 2006, benavento@gmail.com wrote: > > > the offending url is: > > >=20 > > > //adlog.com.com/adlog/i/r=3D7261&s=3D670913&x-fid=3D27&t=3D2006.07.= 08.12.32.41&o=3D1:&h=3Dcn&p=3D2&b=3D5&l=3Den_US&site=3D3&pt=3D2001&nd=3D1= =CF=80d=3D&cid=3D0&pp=3D100&rqid=3D00c17-ad-e444AE8131A6EF99/http://i.i.c= om.com/cnwk.1d/Ads/common/dotclear.gif > > >=20 > >=20 > > did you apply the change? >=20 > what change? >=20 > > according to russ href's cannot contain '&' they should have "&" = instead, > > but this is not the rule out there. libhtml code sees '&' and doesn't= wait for the ';' > > so "&sp" becomes ' ', with my change "&sp" is still "&sp", but "&sp;"= gets translated > > into ' '. > >=20 >=20 > hrefs *MAY* contain &. & is the argument sepertaor for cgi scripts. i= f you have > an "&" in an argument, you need to url-escape it -- that is a much diff= erent escaping > mechanism than for html. for example "&" would be encoded as "%26". >=20 > it is curious that they are not using a ? to seperate the base url from= the arguments. >=20 > i used curl on my linux machine to inspect the text sent from the news.= com.com > server. the url really does have a =CF=80 in it. try it out. also, ht= ml > entities like &sp; or π should never be interpreted within urls. >=20 > - erik --upas-prryctxxhhmcronvqnutmagkvo--