[Zope-CMF] SSLAbsoluteURL bug with CMF

Farrell, Troy troy.farrell@wcg.com
Tue, 29 May 2001 14:29:21 -0500


Has anyone seen this bug when using CMF with SSLAbsoluteURL?  I asked Ron
(who wrote SSLAbsoluteURL) and he had no idea.  It appears as though the
image URLs are being created by taking absolute_url() and slicing it.  You
can observe the bug in action at
https://www.studyshare.net/studyshare/testnews1.  Any suggestions are
welcome.  Please copy me as I am not on the list.

Troy

-----Original Message-----
From: Ron Bickers [mailto:rbickers@logicetc.com] 
Sent: Tuesday, May 29, 2001 1:51 PM
To: Farrell, Troy
Subject: RE: SSLAbsoluteURL bug I think.

> If SSL is defined as a property inside a CMF Portal and is 1,
> https replaces
> the first 4 characters of the portal name, but only for images:
>
> https://www.studyshare.net/studyshare/newsitem_icon.gif
> becomes
> https://www.studyshare.net/httpsyshare/newsitem_icon.gif
>                            ^^^^^
>
> Have you seen this anywhere?  I haven't found a fix yet, but I
> think the bug
> could be with CMF ?!?!  Now I'm really confused :(

I haven't seen this and you're the first to point it out.  I have no
experience with CMF, so unfortunately I don't even know where to begin.
Perhaps CMF is using absolute_url in some interesting ways, causing
SSLAbsoluteURL to behave badly.  Let me know if you get any suggestions from
the CMF crew.