Another dumb-mode PHP consumer demo

Carl Howells chowells at janrain.com
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:

http://www.cs.uoregon.edu/~chowells/test.html

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. :)

Carl


More information about the yadis mailing list