You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2008/09/24 23:37:44 UTC
[jira] Resolved: (VELOCITY-567) Problems with passing parameters
with special symbols (like backslash)
[ https://issues.apache.org/jira/browse/VELOCITY-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Bubna resolved VELOCITY-567.
-----------------------------------
Resolution: Won't Fix
This is a bug in commons-collections. It wouldn't be appropriate to put the workaround in our library as that might conflict with fixed versions of commons-collections. It just needs to be fixed there (and has been, but wrongly). You'll just need to workaround this yourself or use a patched version of commons-collections.
> Problems with passing parameters with special symbols (like backslash)
> ----------------------------------------------------------------------
>
> Key: VELOCITY-567
> URL: https://issues.apache.org/jira/browse/VELOCITY-567
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.4
> Reporter: Alexander Borovsky
> Attachments: fix.patch
>
>
> When passing path to windows share (in windows) we store double backslashes to properties. But this double backslashes unescaped (by ExtendedPropertySet) and template loading doesn't work properly.
> I propose escape all passed string values. Fixing clients will require changes in many other projects (f.e. org.springframework.ui.velocity.VelocityEngineFactory).
> This problem also occurs at RuntimeInstance#initializeProperties and RuntimeInstance#setConfiguration and should be fixed according COLLECTIONS-271
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org