Invenzzia »

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Tasklist

FS#102 - Relative path switch

Attached to Project: Open Power Template
Opened by Zyx (Zyx) - Monday, 27 July 2009, 11:41 GMT-8
Last edited by Zyx (Zyx) - Monday, 03 August 2009, 23:25 GMT-8
Task Type TODO ticket
Category Base class
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity High
Priority High
Reported Version 2.0.0
Due in Version 2.0.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently, we noticed that using relative paths in template file names is enabled in OPT. However, this may be potentially dangerous, so it should be disabled by default, and there must be a switch to enable them for the users that need this feature now.
This task depends upon

Closed by  Zyx (Zyx)
Monday, 03 August 2009, 23:25 GMT-8
Reason for closing:  Implemented
Additional comments about closing:  Implemented in rev. 184
Comment by Damian Nowak (Nowaker) - Wednesday, 29 July 2009, 01:47 GMT-8
I can't use relative paths if I don't modify OPT source code. Please provide an example how you do that.
Comment by Zyx (Zyx) - Thursday, 30 July 2009, 22:40 GMT-8
<opt:extend file="../file.tpl">
...
</opt:extend>

works. Looking at your problem with template inheritance, I would say, you have a problem with your filesystem. Take a look, I don't see any code that locks the "../" combination.

Loading...