HTML escaping errors in error-display.ftl
This commit is contained in:
parent
a2dec76e52
commit
119032ce03
1 changed files with 3 additions and 3 deletions
|
@ -11,15 +11,15 @@
|
||||||
|
|
||||||
<#if adminErrorData??> <#-- view for site administrators -->
|
<#if adminErrorData??> <#-- view for site administrators -->
|
||||||
<#if adminErrorData.errorMessage?has_content>
|
<#if adminErrorData.errorMessage?has_content>
|
||||||
<p><strong>Error message:</strong> ${adminErrorData.errorMessage}</p>
|
<p><strong>Error message:</strong> ${adminErrorData.errorMessage?html}</p>
|
||||||
</#if>
|
</#if>
|
||||||
<#if adminErrorData.stackTrace?has_content>
|
<#if adminErrorData.stackTrace?has_content>
|
||||||
<p>
|
<p>
|
||||||
<strong>Stack trace</strong> (full trace available in the vivo log): ${adminErrorData.stackTrace}
|
<strong>Stack trace</strong> (full trace available in the vivo log): ${adminErrorData.stackTrace?html}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<#if adminErrorData.cause?has_content>
|
<#if adminErrorData.cause?has_content>
|
||||||
<p><strong>Caused by:</strong> ${adminErrorData.cause}</p>
|
<p><strong>Caused by:</strong> ${adminErrorData.cause?html}</p>
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue