From: benavento@gmail.com (Federico G. Benavento)
To: 9fans@cse.psu.edu
Subject: Re: Abaco (was Re: [9fans] smacme)
Date: Sat, 8 Jul 2006 10:54:38 -0300 [thread overview]
Message-ID: <ca865d41cc5e2fb05ae5de825e61360a@yourdomain.dom> (raw)
In-Reply-To: <1095b0bca7bc7b4dddf1c4693b07fa03@quanstro.net>
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
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 == ';' ) {
[-- Attachment #2: Type: message/rfc822, Size: 4611 bytes --]
From: quanstro@quanstro.net
To: 9fans@cse.psu.edu
Subject: Re: Abaco (was Re: [9fans] smacme)
Date: Sat, 8 Jul 2006 08:38:37 -0500
Message-ID: <1095b0bca7bc7b4dddf1c4693b07fa03@quanstro.net>
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:
> > >
> > > //adlog.com.com/adlog/i/r=7261&s=670913&x-fid=27&t=2006.07.08.12.32.41&o=1:&h=cn&p=2&b=5&l=en_US&site=3&pt=2001&nd=1πd=&cid=0&pp=100&rqid=00c17-ad-e444AE8131A6EF99/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif
> > >
> >
> > did you apply the change?
>
> what change?
>
> > 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 ' '.
> >
>
> hrefs *MAY* contain &. & is the argument sepertaor for cgi scripts. if you have
> an "&" in an argument, you need to url-escape it -- that is a much different escaping
> mechanism than for html. for example "&" would be encoded as "%26".
>
> it is curious that they are not using a ? to seperate the base url from the arguments.
>
> i used curl on my linux machine to inspect the text sent from the news.com.com
> server. the url really does have a π in it. try it out. also, html
> entities like &sp; or π should never be interpreted within urls.
>
> - erik
next prev parent reply other threads:[~2006-07-08 13:54 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-07 14:13 [9fans] smacme Ronald G Minnich
2006-07-07 14:20 ` Christoph Lohmann
2006-07-07 14:30 ` quanstro
2006-07-07 15:50 ` "Nils O. Selåsdal"
2006-07-07 15:52 ` Federico Benavento
2006-07-07 20:10 ` Brantley Coile
2006-07-07 14:30 ` Ronald G Minnich
2006-07-07 14:36 ` jmk
2006-07-07 14:54 ` Ronald G Minnich
2006-07-07 15:06 ` Latchesar Ionkov
2006-07-07 15:07 ` Ronald G Minnich
2006-07-07 15:16 ` andrey mirtchovski
2006-07-07 15:22 ` David Leimbach
2006-07-07 14:31 ` David Leimbach
2006-07-07 21:53 ` Abaco (was Re: [9fans] smacme) csant
2006-07-07 23:03 ` Federico G. Benavento
2006-07-07 23:18 ` csant
2006-07-08 0:31 ` Federico Benavento
2006-07-07 23:49 ` quanstro
2006-07-08 0:22 ` Steve Simon
2006-07-08 0:28 ` Federico Benavento
2006-07-08 0:43 ` quanstro
2006-07-08 1:08 ` Federico Benavento
2006-07-08 1:28 ` quanstro
2006-07-08 4:47 ` Federico G. Benavento
2006-07-08 12:26 ` quanstro
2006-07-08 13:02 ` Federico G. Benavento
2006-07-08 13:09 ` quanstro
2006-07-08 13:32 ` Federico G. Benavento
2006-07-08 13:32 ` quanstro
2006-07-08 13:38 ` quanstro
2006-07-08 13:54 ` Federico G. Benavento [this message]
2006-07-08 16:56 ` quanstro
2006-07-08 17:45 ` Federico G. Benavento
2006-07-08 17:39 ` quanstro
2006-07-08 18:12 ` Federico G. Benavento
2006-07-08 18:14 ` quanstro
2006-07-08 20:38 ` mattmobile
2006-07-08 19:39 ` quanstro
2006-07-08 22:18 ` mattmobile
2006-07-08 23:19 ` quanstro
2006-07-09 8:14 ` Sascha Retzki
2006-07-09 9:26 ` mattmobile
2006-07-09 9:26 ` [9fans] Re: Abaco csant
2006-07-09 10:59 ` mattmobile
2006-07-10 1:17 ` quanstro
2006-07-10 9:12 ` Charles Forsyth
2006-07-10 9:17 ` LiteStar numnums
2006-07-10 9:34 ` Charles Forsyth
2006-07-11 0:56 ` quanstro
2006-07-10 21:25 ` Caco
2006-07-11 10:37 ` mothra (was Re: Abaco (was Re: [9fans] smacme)) Richard Miller
2006-07-15 14:14 ` erik quanstrom
2006-07-16 8:33 ` csant
2006-07-17 5:05 ` cej
2006-07-17 7:11 ` uriel
2006-07-17 8:02 ` erik quanstrom
2006-07-17 8:11 ` erik quanstrom
2006-07-17 14:29 ` jmk
2006-07-17 8:10 ` cej
2006-07-17 7:45 ` erik quanstrom
2006-07-17 8:15 ` cej
2006-07-17 8:10 ` erik quanstrom
2006-07-16 16:26 ` Richard Miller
2006-07-08 1:30 ` Abaco (was Re: [9fans] smacme) uriel
2006-07-08 2:52 ` Ronald G Minnich
2006-07-08 3:09 ` uriel
2006-07-08 3:18 ` Ronald G Minnich
2006-07-08 10:36 ` Sascha Retzki
2006-07-08 11:41 ` Federico G. Benavento
2006-07-07 15:21 ` [9fans] smacme Gabriel Diaz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ca865d41cc5e2fb05ae5de825e61360a@yourdomain.dom \
--to=benavento@gmail.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).