Another dumb-mode PHP consumer demo
Alan J Castonguay
codepoetica at gmail.com
Tue Jul 19 14:16:07 PDT 2005
Parsing � "&<> in 3 urls: Claimed Ident, openid.delegate, and
http://www.cs.uoregon.edu/~chowells/test.html redirects to
Thanks for the help hammering this. Seems I missed quite a few nuances
of the spec.
On 7/19/05, Carl Howells <chowells at janrain.com> wrote:
> Alan J Castonguay wrote:
> > The first was failing due to regex for the trailing slash using the
> > original claimed address rather than the semi-normalized (with http://
> > prefix). Fixed.
> > The third was failing due to extra-required-whitespace regex in my
> > <link> tag parse. Changed the \s+ to \s*. Fixed.
> > href="([^">]+)"\s* [/]?>#ix
> > Any other broken regexen?
> Kind of: Try this one again:
> Your parsing is breaking on (legal, and within spec) entities in the
> link tag. It also needs to resolve them, after it correctly parses them
> out. :)
More information about the yadis