Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 46050 invoked from network); 4 Mar 2008 14:20:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 14:20:02 -0000 Received: (qmail 3206 invoked by uid 500); 4 Mar 2008 14:19:56 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 2756 invoked by uid 500); 4 Mar 2008 14:19:54 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 2745 invoked by uid 500); 4 Mar 2008 14:19:54 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 2742 invoked by uid 99); 4 Mar 2008 14:19:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 06:19:54 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 14:19:15 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 8F40D234C03B; Tue, 4 Mar 2008 06:18:47 -0800 (PST) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 44527] New: window.open() for mime extensions does not work with security constraints. X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 5 X-Bugzilla-Component: Catalina X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: andre.laurent@vivium.lu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tomcat-dev@jakarta.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Tue, 4 Mar 2008 06:18:47 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=3D44527 Summary: window.open() for mime extensions does not work with security constraints. Product: Tomcat 5 Version: 5.5.9 Platform: PC OS/Version: Windows XP Status: NEW Severity: minor Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: andre.laurent@vivium.lu With security constraints set up, I have noticed that the javascript window.open () does not work properly when calling a local program (such as Acrobat Reader, MS-Word, notepad =E2=80=A6) through Mime extensions. With = PDF files, the new window opens and displays a blank page. With MS-Word, notepad =E2= =80=A6, an error occurs saying (translated in English) : Internet Explorer cannot down= load the file xxxxx from xxxxx. The page requested is unavailable or cannot be found. Code example : function ouvrir (pdf) { window.open (pdf, 'fenetre', 'location=3Dno,menubar=3Dyes,resizable= =3Dyes') ; } ')<%=3D pdfName %> Some tests show the following : - The problem occurs equally with IE7 and IE6. - showModalDialog does not work neither. The problem does not occur :=20 - if window.open () is used to open a simple HTML (or a JSP) page. - If the document opens in the current page - If window.open () is replaced by . One thing is sure : if the security constraints are removed (I am using JDNDIRealm ldap for authentication), window.open() works well in all the ca= ses. Many thanks for your feedback ! --=20 Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=3De= mail ------- You are receiving this mail because: ------- You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org