You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Tam Du (JIRA)" <ji...@apache.org> on 2009/05/15 06:29:45 UTC

[jira] Reopened: (TAP5-703) Improvement where to save tml files

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

Tam Du reopened TAP5-703:
-------------------------


I'm so sorry because I didn't explain my idea clearly. I make clear it here.

Currently, .tml files are stored in the fixed directory. Generally, it might be not suitable for users in some case. We can keep the file organization of web project flexible by determine the tml directory path (where to store .tml files).

For example, I attached here my java file which explains my suggestion.  In this file, I insert the line: 
      configuration.add(SymbolConstants.TML_DIRECTORY_PATH, "WEB-INF/tml/");
to specify the tml directory.

Thanks for considering my suggestion.


> Improvement where to save tml files
> -----------------------------------
>
>                 Key: TAP5-703
>                 URL: https://issues.apache.org/jira/browse/TAP5-703
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5, 5.0.18
>            Reporter: Tam Du
>
> I request this feature for purpose of the security of website. Currently, I found that users can download tml files by putting ".tml" at the end of URL. Users can do like that because .tml files are put in the webroot folder of the project. To prevent download, I have 2 solutions for this case:
>      Solution 1:   .tml files can be saved anywhere in project, and Tapestry will support the configuration to determine where to save these files.
>      Solution 2:   Save tml file in the WEB_INF folder of project.
> I hope that next version of Tapestry will have this option.
> Thank you very much.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.