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
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