[jboss-jira] [JBoss JIRA] Created: (JBAS-7076) DeploymentTemplate temp file url is not escaped properly

Scott M Stark (JIRA) jira-events at lists.jboss.org
Sat Jul 4 16:11:51 EDT 2009


DeploymentTemplate temp file url is not escaped properly
--------------------------------------------------------

                 Key: JBAS-7076
                 URL: https://jira.jboss.org/jira/browse/JBAS-7076
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: ProfileService
    Affects Versions: JBossAS-5.1.0.GA
            Reporter: Scott M Stark
            Assignee: Scott M Stark


The DsDataSourceTemplate applyTemplate method is creating a temp file, but somewhere the file url is not being properly escaped (at least on mac os x), as a temp file name of

/var/folders/jY/jY1BDqLkHKO+a4nm+GooZE+++TI/-Tmp-/DsDataSourceTemplate9162352335796065232-ds.xml

is created, but when the file is accessed by the vfs, it fails with:

java.io.FileNotFoundException: /var/folders/jY/jY1BDqLkHKO a4nm GooZE   TI/-Tmp-/DsDataSourceTemplate9162352335796065232-ds.xml



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list