[Seaside] SSL

Ramon Leon rleon at insario.com
Sat Apr 29 01:25:17 UTC 2006


 Hmm, that part works great, but css scripts are still imported via http resulting in warnings about unsecure elements.  I'll dig around see if I can find where to fix those, but if you're around, do tell.

________________________________

From: seaside-bounces at lists.squeakfoundation.org on behalf of Avi Bryant
Sent: Fri 4/28/2006 11:04 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] SSL




On Apr 28, 2006, at 10:56 AM, Ramon Leon wrote:
>
> Thanks, but can you share the code, or am I in for another night of
> hacking trying to figure out how to modify seasides generated url 
> root?

These are from my WASession subclass:

actionUrlForKey: aString
        | url |
        url := super actionUrlForKey: aString.
        self useSSL ifTrue: [url scheme: #https; port: 443].
        ^ url
       
useSSL
        ^ (currentRequest headers includesKey: 'via')

Avi
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4414 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060428/755099b3/attachment.bin


More information about the Seaside mailing list