[jboss-user] [JBoss Portal] - Re: No partial refresh in HTTPS
cpage
do-not-reply at jboss.com
Wed Aug 12 13:16:33 EDT 2009
The problem is in dyna.js in the function "isURLAccepted" :
if (url.indexOf("http://") == 0)
this function always return false in https
I replace this "if ... else" statement by :
| var base_url_escaped = server_base_url.replace(/\//g,"\\/");
| var regexp = "/^http[s]{0,1}:\\/\\/[^\\/]*" + base_url_escaped + ".*$|^" + base_url_escaped + "/";
| if (!url.match(eval(regexp))) {
| return false;
| }
|
I have tested in IE7 and Firefox 3.0.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249279#4249279
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249279
More information about the jboss-user
mailing list