LJ not correctly parsing <link... > tags.

Brad Fitzpatrick brad at danga.com
Sat Jul 2 00:18:00 PDT 2005


Yeah, I'll fix it when I get back next week, unless somebody wants to send
me a patch.  (And no, not a full HTML parser... just de-entitify the
attribute)

It also doesn't resolve relative URLs, but I'm not sure that it should or
not.  Should we just say full URLs are required?  Either way it needs to
be documented in the spec.



On Fri, 1 Jul 2005, Carl Howells wrote:

> It looks like LJ isn't correctly parsing the <link..> tags to extract
> the server URL.  In particular, it isn't processing entities in the
> href.  Example:
>
> <link rel="openid.server"
> href="http://www.schtuff.com/?action&#x3d;openid&#x5f;server" />
>
> That's a valid HTML link tag that uses two entities in its the value of
> its href attribute.  Those entities should be processed before the
> attribute is used, meaning the actual value extracted from that
> attribute should be "http://www.schtuff.com/?action=openid_server".
>
> At the moment, LJ's consumer code is not extracting that properly.  Will
> that be fixed?
>
> Carl
>
>


More information about the yadis mailing list