Opened 13 years ago
Last modified 8 years ago
#519 new enhancement
[PATCH] TemplateLoader.load refactor to support sandboxed absolute xi:include paths
Reported by: | jason kirtland <jek@…> | Owned by: | cmlenz |
---|---|---|---|
Priority: | minor | Milestone: | 0.9 |
Component: | General | Version: | devel |
Keywords: | Cc: |
Description
For our application we needed "/index.html" to resolve to "/search/path/index.html" rather than be absolute within the host's full filesystem. Attached is a patch which refactors TemplateLoader?.load() such that the interpretation of /absoluteness and the normalization of relative paths is pushed into an overridable method.
There are no behavioral changes introduced by the patch, and all tests continue to pass.
Attachments (1)
Change History (2)
Changed 13 years ago by jason kirtland <jek@…>
comment:1 Changed 8 years ago by hodgestar
- Milestone changed from 0.7 to 0.9
Moved to milestone 0.9.
Note: See
TracTickets for help on using
tickets.
Diff against trunk r1185