You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2007/06/23 17:57:26 UTC

[jira] Updated: (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 ]

Sebb updated TEXEN-10:
----------------------

    Attachment: patch.txt

> 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