Another dumb-mode PHP consumer demo

Carl Howells chowells at
Tue Jul 19 12:20:24 PDT 2005

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 mailing list