[Mono-bugs] [Bug 719472] New: Loading Report HTML gives MSIE popup "...restricted this webpage...", fix using "Mark of the Web"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 21 08:55:53 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=719472

https://bugzilla.novell.com/show_bug.cgi?id=719472#c0


           Summary: Loading Report HTML gives MSIE popup "...restricted
                    this webpage...", fix using "Mark of the Web"
    Classification: Mono
           Product: Mono: Tools
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: MOMA
        AssignedTo: frego at suse.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET
CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; .NET4.0C; .NET4.0E)

This is the same bug as fixed for Gendarme: bug
https://bugzilla.novell.com/show_bug.cgi?id=594308

When one loads a MoMA report page (from disk) into Internet Explorer, MSIE
shows the gold Information Bar reporting:
    "To help protect your security, Internet Explorer has restricted this
webpage from running scripts or ActiveX controls that could access your
computer. Click here for options..."
(The script in question is the JavaScript providing the hide/expand node
feature).

This can be fixed by having MoMA add the "Mark of the Web" directive to the
pages it creates.  I added the following single line in the page's HEAD element
just before the TITLE element and this fixed the problem: no prompt and the
hide/expand script still works. :-)

[[
    <!-- saved from url=(0014)about:internet -->
]]
Include a newline after that line!

For more details see the Gendarme bug:
https://bugzilla.novell.com/show_bug.cgi?id=594308

Reproducible: Always

Actual Results:  
Load a Gendarme report into MSIE (on XP SP2 or later), see the gold Information
Bar popup at the top edge of the page.

Expected Results:  
See NO gold Information Bar popup at the top edge of the page, and the
[hide]/expand button script still works.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list