Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 10827 invoked from network); 20 Apr 2007 14:56:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Apr 2007 14:56:38 -0000 Received: (qmail 93789 invoked by uid 500); 20 Apr 2007 14:56:43 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 93741 invoked by uid 500); 20 Apr 2007 14:56:43 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 93727 invoked by uid 99); 20 Apr 2007 14:56:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 07:56:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 07:56:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A1801714041 for ; Fri, 20 Apr 2007 07:56:15 -0700 (PDT) Message-ID: <17904015.1177080975629.JavaMail.jira@brutus> Date: Fri, 20 Apr 2007 07:56:15 -0700 (PDT) From: "Jay D. McHugh (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3108) Deploy fails when a WAR is deployed having a CSS file with special character In-Reply-To: <18715101.1177080315360.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490377 ] Jay D. McHugh commented on GERONIMO-3108: ----------------------------------------- Could you attach a test war file? Also, what version of Java are you using? > Deploy fails when a WAR is deployed having a CSS file with special character > ---------------------------------------------------------------------------- > > Key: GERONIMO-3108 > URL: https://issues.apache.org/jira/browse/GERONIMO-3108 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 1.1.1 > Environment: Windows XP > Reporter: Rajiv M > Priority: Minor > > A WAR with a CSS file named with special characters fails to deploy with the below errors: > 15:06:12,580 ERROR [Deployer] Deployment failed: plan=null, module=C:\AGDIR\var\temp\CssTest.war > org.apache.geronimo.common.DeploymentException: Could not construct URI for location of war entry > at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.installModule(AbstractWebModuleBuilder.java:253) > at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder$$FastClassByCGLIB$$459e0cc.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) > .... > Caused by: > java.net.URISyntaxException: Illegal character in path at index 8: test_ie7[1].css > at java.net.URI$Parser.fail(URI.java:2821) > at java.net.URI$Parser.checkChars(URI.java:2994) > at java.net.URI$Parser.parseHierarchical(URI.java:3078) > at java.net.URI$Parser.parse(URI.java:3036) > at java.net.URI.(URI.java:819) > at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.installModule > URI uri = new URI("http://localhost:80/test_ie7[1].css") will cause the exception to be thrown in a simple Java program. > Sun documentation (http://java.sun.com/j2se/1.5.0/docs/api/java/net/URI.html) however mentions that [ and ] are legal URI characters. > Why the exception then? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.