IE6: This page contains both secure and nonsecure items.

13 views
Skip to first unread message

Diodeus

unread,
Jun 29, 2009, 6:27:38 PM6/29/09
to Prototype: Core
Hi gang,

When testing with 1.6.1_rc2 and 1.6.1_rc3 I got complaints from some
corporate clients that they're getting the following dialog on IE6.

"This page contains both secure and nonsecure items."

I managed to test this, and confirmed this is the case. Older versions
of Prototype do not cause this problem. I'm not sure why it's
happening. I searched through rc3 and other than comments I didn't
find any obvious culprits.

So I cannot concurrently support both IE8 and IE6 users.

Richard Quadling

unread,
Jun 30, 2009, 6:06:37 AM6/30/09
to prototy...@googlegroups.com


2009/6/29 Diodeus <dio...@gmail.com>

Why is this a prototype issue? If you have a site which has hardcoded the protocol for some resources, then they will generate this message.



--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
I need a car : http://snipurl.com/l4pih
ZOPA : http://uk.zopa.com/member/RQuadling

Diodeus

unread,
Jun 30, 2009, 9:38:54 AM6/30/09
to Prototype: Core
Richard, I don't think you read my message. I'm no noob.

Here is my test page. Note the lack of external HTTP references:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"/>
<title>Secure Test</title>
<!-- Prototype -->
<script type="text/javascript" src="js/prototype1.6.1_rc3.js"></
script>
</head>
<body>
<h1>Test</h1>
</body>
</html>


On Jun 30, 6:06 am, Richard Quadling <rquadl...@googlemail.com> wrote:
> 2009/6/29 Diodeus <diod...@gmail.com>

Ryan Holliday (wrh2)

unread,
Jun 30, 2009, 11:52:55 AM6/30/09
to Prototype: Core
I filed a bug on this issue with a suggested fix (https://
prototype.lighthouseapp.com/projects/8886/tickets/648-ssl-error-on-ie6-
with-161_rc2). I'm not sure what the status is for getting this
resolved for 1.6.1, although we've been running successfully with the
proposed fix for several months in a production environment.

Diodeus

unread,
Jun 30, 2009, 12:05:16 PM6/30/09
to Prototype: Core
Ryan, thank you for this fix. I've modified my copy of rc3.

On a side note: I think the library would lose about 10k if tabs were
used for indentation rather than multiple spaces.



On Jun 30, 11:52 am, "Ryan Holliday (wrh2)" <ryan.holli...@gmail.com>
wrote:

Tobie Langel

unread,
Jun 30, 2009, 12:07:09 PM6/30/09
to Prototype: Core
That's a blocker and will be fixed before 1.6. final.

Best,

Tobie

On Jun 30, 5:52 pm, "Ryan Holliday (wrh2)" <ryan.holli...@gmail.com>
wrote:

YaoXing Zhang

unread,
Jun 30, 2009, 12:41:11 PM6/30/09
to prototy...@googlegroups.com
Diodeus,
Maybe you would like to try YUI Compressor which will reduce the size even more.
I'm using prototype 1.6.2 and after compressing it becomes from 127Kb to 74Kb.

Regards,
YX
MSN: zhangy...@live.cn
Skype: yaoxing.zhang

Jim Higson

unread,
Jul 1, 2009, 4:30:12 AM7/1/09
to prototy...@googlegroups.com
On Tuesday 30 June 2009 17:41:11 YaoXing Zhang wrote:
> Diodeus,
> Maybe you would like to try YUI Compressor which will reduce the size even
> more. I'm using prototype 1.6.2 and after compressing it becomes from 127Kb
> to 74Kb.

And then you can gzip it... reduces by (IIRC) 50%-ish again.

I tried wrapping Prototype and my code together in a closure once, thinking
this'd help YUI Compressor reduce more of the variable names but it actually
increased the size by a percent or two. Not sure why.

Jim
--
Jim
my wiki ajaxification thing: http://wikizzle.org
my blog: http://jimhigson.blogspot.com/

Yaoxing Zhang

unread,
Jul 1, 2009, 11:42:40 AM7/1/09
to prototy...@googlegroups.com
I think that's OK because you have already removed the white spaces that have a higher compressibility. So the percentage could be larger, but I guess usually you can still get a smaller final size.
Now in my project I use both YUI compressor and gzip in case some ones are using browsers that does not support gzip.
Reply all
Reply to author
Forward
0 new messages