Re: Docs error?

[prev] [thread] [next] [Date index for 2005/04/26]

From: Stas Bekman
Subject: Re: Docs error?
Date: 14:16 on 26 Apr 2005
Geoffrey Young wrote:
>>Beg your pardon? Have you looked at the HTML source code? it goes:
>>
>><a
>>href="http://example.com/foo.pl?foo=bar&amp;reg=foobar">http://example.com/foo.pl?foo=bar&amp;reg=foobar</a>;
> 
> 
> I think what carl was saying was that the source of the bug in the
> discussion was incorrect, not in how we render the page ourselves.
> 
> in the discussion it talks about a url in the form
> 
>   http://example.com/foo.pl?foo=bar&reg=foobar
> 
> carl was saying that if you put a literal
> 'http://example.com/foo.pl?foo=bar&reg=foobar' in your html _that_ is the
> cause of the problem - unescaped ampersands in url links are not allowed, so
> the literal url in user html should be
> 'http://example.com/foo.pl?foo=bar&amp;reg=foobar'.
> 
> so, in _our_ own html we get it right :) but the source of the problem for
> the user is that they don't get it right.  or, more properly, we are
> misrepresenting what the actual userspace problem really is - the workaround
> might work, but the underlying problem is that they don't properly escape
> their ampersands in their own url links.
> 
> at least that's what I think carl was trying to say :)

Oh, I see, I thought you were talking a bug in the docs building system.

But if you write:

   'http://example.com/foo.pl?foo=bar&amp;reg=foobar'.

There is no problem whatsover. Since there is no &reg here.

Since when unescaped & in the QUERY_STRING part of the URL are not allowed?

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

Docs error?
Carl Johnstone 11:11 on 26 Apr 2005

Re: Docs error?
Geoffrey Young 13:13 on 26 Apr 2005

Re: Docs error?
Stas Bekman 13:57 on 26 Apr 2005

Re: Docs error?
Geoffrey Young 14:05 on 26 Apr 2005

Re: Docs error?
Stas Bekman 14:16 on 26 Apr 2005

Re: Docs error?
Geoffrey Young 14:22 on 26 Apr 2005

Re: Docs error?
Stas Bekman 14:31 on 26 Apr 2005

Re: Docs error?
Steve Hay 14:35 on 26 Apr 2005

Re: Docs error?
Stas Bekman 14:43 on 26 Apr 2005

Re: Docs error?
Carl Johnstone 16:01 on 26 Apr 2005

Re: Docs error?
Stas Bekman 16:16 on 26 Apr 2005

Re: Docs error?
Stas Bekman 03:50 on 10 May 2005

Re: Docs error?
Trond Michelsen 14:56 on 26 Apr 2005

Re: Docs error?
Ron Savage 23:51 on 26 Apr 2005

Generated at 06:57 on 17 May 2005 by mariachi v0.52