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

Charles Crouch (JIRA) jira-events at lists.jboss.org
Tue Jul 14 09:31:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Crouch updated JBAS-7076:
---------------------------------

    Labels: profileservice  (was: )


> 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