You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <ji...@apache.org> on 2007/06/24 15:42:56 UTC

[jira] Resolved: (TEXEN-10) Handling of file.contents suffix is flawed

     [ https://issues.apache.org/jira/browse/TEXEN-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Glass-Husain resolved TEXEN-10.
------------------------------------

    Resolution: Fixed

Thanks, Sebb.  Patch applied.

> Handling of file.contents suffix is flawed
> ------------------------------------------
>
>                 Key: TEXEN-10
>                 URL: https://issues.apache.org/jira/browse/TEXEN-10
>             Project: Texen
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Minor
>         Attachments: patch.txt
>
>
> The code to process the suffix "file.contents" does not check that there is a "." before the suffix; it unconditionally removes the previous character.
> So for example:
> statusfile.contents=STATUS
> will be accepted, and the file contents stored in the context as $statu - this is presumably not what was intended.

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