Ticket #14004 (assigned defect)
mura doesn't respect indexfileinurls setting when siteidinurls is true
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Component: | General |
| Version: | 5.2 | Keywords: | |
| Cc: | Time planned: | 1d | |
| Time remaining: | 1d | Time spent: | 1d |
Description
Here is the patch:
### Eclipse Workspace Patch 1.0 #P russmura Index: www/requirements/mura/content/contentRenderer.cfc =================================================================== --- www/requirements/mura/content/contentRenderer.cfc (revision 235) +++ www/requirements/mura/content/contentRenderer.cfc (working copy) @@ -638,7 +638,11 @@
<cfelse>
<cfif arguments.filename neq >
<cfif application.configBean.getStub() eq >
- <cfreturn "/" & arguments.siteID & "/index.cfm" & "/" & arguments.filename & "/"/>
+ <cfif application.configBean.getIndexFileInURLS()> + <cfreturn "/" & arguments.siteID & "/index.cfm" & "/" & arguments.filename & "/"/> + <cfelse> + <cfreturn "/" & arguments.siteID & "/index.cfm" & "/" & arguments.filename & "/"/> + </cfif>
<cfelse>
<cfreturn application.configBean.getStub() & "/" & arguments.siteID & "/" & arguments.filename & "/" />
</cfif>

Real