On Wed, Apr 7, 2010 at 1:10 PM, Joshua Paine <jos...@letterblock.com> wrote:

> On 04/07/2010 06:55 AM, Stephan Beal wrote:
> > A link in the form <a
> > href='/repos'>...</a> resolves (incorrectly) to:
> >
> >
> http://fossil.wanderinghorse.net/repos/JSONMessage/index.cgi/%27/repos%27
>
> In HTML, attributes may be quoted with single quotes or double quotes,
> but most people and software use double quotes.
>
>     <a href="/repos">...</a>
>
It rather looks like your browser mishandled your single-quoted
> attribute there, which would be pretty weird. Try it with the double
> quotes.
>

Right: when i use double-quotes it is processed as expected. But IMO this is
not a browser bug but Fossil's parsing of the attributes (which apparently
only accounts for double-quotes). Browser==Firefox 3.something, BTW.

i say it's a fossil bug because the generated single-quote HREF link renders
as:

<a href="'/repos'">test link with A HREF single-quoted</a>


which is obviously wrong.

Various examples:

http://fossil.wanderinghorse.net/repos/JSONMessage/index.cgi/wiki?name=Sandbox


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to