[ 
http://jira.codehaus.org/browse/MSHARED-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250496#action_250496
 ] 

Dennis Lundberg commented on MSHARED-179:
-----------------------------------------

In r1055383 I added a failing test case for this issue, that is commented out.

> FilteringUtils.escapeWindowsPath only works if the Windows path is at the 
> beginning of a property
> -------------------------------------------------------------------------------------------------
>
>                 Key: MSHARED-179
>                 URL: http://jira.codehaus.org/browse/MSHARED-179
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-filtering
>    Affects Versions: maven-filtering-1.0-beta-4
>            Reporter: Dennis Lundberg
>         Attachments: MSHARED-179.zip
>
>
> If the Windows path is in the middle, like in a JDBC URL escaping is not 
> done. Here's the code from FilteringUtils.java that causes it:
> {code:java}
>     public static final String escapeWindowsPath( String val )
>     {
>         if ( !StringUtils.isEmpty( val ) && val.indexOf( ":\\" ) == 1 )
>         ...
> {code}

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

        

Reply via email to