Uploaded image for project: 'JBoss Enterprise Portal Platform'
  1. JBoss Enterprise Portal Platform
  2. JBEPP-995

IE 6 displays "This page contains both secure and nonsecure items" on every pages when using SSL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.3.0.GA_CP6
    • Fix Version/s: 4.3.0.GA_CP7
    • Component/s: Portal
    • Labels:
      None
    • Environment:

      JBoss EPP 4.3 CP06
      Internet Explorer 6
      Enabling SSL

    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      IE 6 displayed "This page contains both secure and nonsecure items" on every page when users were authenticated using SSL. While IE6 was honoring the information it received in the header.jsp, this caused unnecessary modal dialog boxes to display every time a page with mixed content was opened. The fix implements changes to the header.jsp to correctly detect when a user is authenticated, and prevents the dialog boxes from opening.
      Show
      IE 6 displayed "This page contains both secure and nonsecure items" on every page when users were authenticated using SSL. While IE6 was honoring the information it received in the header.jsp, this caused unnecessary modal dialog boxes to display every time a page with mixed content was opened. The fix implements changes to the header.jsp to correctly detect when a user is authenticated, and prevents the dialog boxes from opening.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • NEEDINFO:
      Nobody

      Description

      It looks a same issue which was reported in JBPORTAL-2012.

      The following patch suggested in the above JIRA seems to fix the issue. At least it resolved the issue in my local test. However, I am not sure if this is a good way to fix the issue or if it breaks anything else. Could you review the patch?

       
      Index: core/src/bin/portal-core-war/layouts/common/modal_body.jsp
      ===================================================================
      --- core/src/bin/portal-core-war/layouts/common/modal_body.jsp	(revision 14000)
      +++ core/src/bin/portal-core-war/layouts/common/modal_body.jsp	(working copy)
      @@ -1,5 +1,5 @@
          <div id="login-modal" style="display:none">
             <div id="login-modal-msg" style="display:none;width:257px;height:157px">
      -      <iframe src="" frameborder="0" width="257" height="157" scrolling="no" marginheight="0" marginwidth="0" name="login-content" class="login-content" id="loginIframe"></iframe>
      +      <iframe src="javascript:" frameborder="0" width="257" height="157" scrolling="no" marginheight="0" marginwidth="0" name="login-content" class="login-content" id="loginIframe"></iframe>
             </div>
      -   </div>
      \ No newline at end of file
      +   </div>
      Index: core/src/resources/portal-core-war/WEB-INF/jsp/header/header.jsp
      ===================================================================
      --- core/src/resources/portal-core-war/WEB-INF/jsp/header/header.jsp	(revision 14000)
      +++ core/src/resources/portal-core-war/WEB-INF/jsp/header/header.jsp	(working copy)
      @@ -51,7 +51,7 @@
       <script type="text/javascript">
          /* <![CDATA[ */
          //we don't need the iframe/modal if logged in
      -   document.getElementById('loginIframe').src = '';
      +   document.getElementById('loginIframe').src = "javascript:''";
          /* ]]> */
       </script>
       <%= rb.getString("LOGGED") %>: <%= principal.getName() %><br/><br/>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  theute Thomas Heute
                  Reporter:
                  mmiura Masafumi Miura
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: