Re: area tag broken for full URLs

Jon Jensen <[email protected]>
Newsgroups gmane.comp.web.interchange.users
Message-ID <alpine.LFD.2.20.1702091448321.2440@cevzz>
On Fri, 10 Feb 2017, Peter wrote:

> I'm gonna disagree here.  I've done my homework (as you can see above) 
> and changing that third arg to $r will not affect any usage where the 
> href is not a full URL since $r will be undef in that case anyways and 
> hence be the same as explicitly passing undef as is done now.
>
> The only reason I'm asking is because the current behavior is if you 
> pass a full URL with a form attribute, then the protocol://domain 
> portion will be stripped out and replaced by VendUrl.  I highly doubt 
> anyone is relying on this behaviour, but if you are then speak up now 
> because you're relying on a bug and it should be changed.

I don't recall ever seeing anyone use [area] with a full URL, and your 
analysis sounds reasonable. +1 from me for fixing the bug as you 
described.

Jon


-- 
Jon Jensen
End Point Corporation
https://www.endpoint.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.