You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Wouter Horré (JIRA)" <de...@tuscany.apache.org> on 2009/01/15 12:39:59 UTC

[jira] Created: (TUSCANY-2769) JarContributionScanner does not correctly handle jar entries with spaces

JarContributionScanner does not correctly handle jar entries with spaces
------------------------------------------------------------------------

                 Key: TUSCANY-2769
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2769
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Domain Management
    Affects Versions: Java-SCA-1.3
         Environment: Sun jdk 6 on Ubuntu 8.10
            Reporter: Wouter Horré


org.apache.tuscany.sca.workspace.scanner.impl.JarContributionScanner does not properly escape the names of the jar entries it reads from the jar. When one of these entries contains characters that aren't allowed in a URI (e.g. spaces), this results in an IllegalArgumentException in the call to URI.create at org.apache.tuscany.sca.workspace.processor.impl.ContributionContentProcessor.java:132.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-2769) JarContributionScanner does not correctly handle jar entries with spaces

Posted by "Wouter Horré (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wouter Horré updated TUSCANY-2769:
----------------------------------

    Affects Version/s: Java-SCA-1.4

> JarContributionScanner does not correctly handle jar entries with spaces
> ------------------------------------------------------------------------
>
>                 Key: TUSCANY-2769
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2769
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Domain Management
>    Affects Versions: Java-SCA-1.3, Java-SCA-1.4
>         Environment: Sun jdk 6 on Ubuntu 8.10
>            Reporter: Wouter Horré
>
> org.apache.tuscany.sca.workspace.scanner.impl.JarContributionScanner does not properly escape the names of the jar entries it reads from the jar. When one of these entries contains characters that aren't allowed in a URI (e.g. spaces), this results in an IllegalArgumentException in the call to URI.create at org.apache.tuscany.sca.workspace.processor.impl.ContributionContentProcessor.java:132.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.