Ticket #238 (new defect)
parsePath confused by ../parent path
| Reported by: | scorfield | Owned by: | sean@… |
|---|---|---|---|
| Type: | defect | Priority: | normal |
| Milestone: | Fusebox 5.6 | Component: | Extensions: Lexicons/Plugins |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
With the following structure, include act_CheckBansByIP fails:
/www
index.cfm
Application
/images
/Data
/Circuits
/Security
act_CheckBansByIP.cfm
/parsed
fusebox.xml.cfm
Fusebox.xml.cfm contains...
<parameters>
<parameter name="allowImplicitCircuits" value="false" />
<parameter name="debug" value="true" />
<parameter name="parsePath" value="../Data/parsed" />
<parameter name="pluginsPath" value="../Data/plugins" />
<parameter name="lexiconPath" value="../Data/lexicon" />
</parameters>
In my index.cfm file, I have <cfset FUSEBOX_APPLICATION_PATH = "../Data">
The parsed copy of the file looks like this..
<cfoutput><cfinclude
template="../../../Circuits/Security/act_CheckBansByIP.cfm"></cfoutput>
Workaround: remove the parsePath declaration.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
