forked from ezsystems/ezpublish-legacy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EZP-28298: Legacy leaks object names by object link/embed
Fix object name/path leakage for object and node links and embeds Fix object name leakage for embeds in eZ OE Fix object name leakage for links/embeds in related objects list
- Loading branch information
Showing
6 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
design/standard/templates/content/datatype/pdf/ezxmltags/embed-inline_denied.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{* DO NOT EDIT THIS FILE! Use an override template instead. *} | ||
{pdf(text, concat( $object.name|wash, " - You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' ) )|wash(pdf) )} | ||
{pdf(text, "You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' )|wash(pdf) )} |
2 changes: 1 addition & 1 deletion
2
design/standard/templates/content/datatype/pdf/ezxmltags/embed_denied.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{* DO NOT EDIT THIS FILE! Use an override template instead. *} | ||
{pdf(text, concat( $object.name|wash, " - You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' ) )|wash(pdf) )} | ||
{pdf(text, "You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' )|wash(pdf) )} |
2 changes: 1 addition & 1 deletion
2
design/standard/templates/content/datatype/view/ezxmltags/embed-inline_denied.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{* DO NOT EDIT THIS FILE! Use an override template instead. *}{$object.name|wash} - {"You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' )}. | ||
{* DO NOT EDIT THIS FILE! Use an override template instead. *}{"You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' )}. |
2 changes: 1 addition & 1 deletion
2
design/standard/templates/content/datatype/view/ezxmltags/embed_denied.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{* DO NOT EDIT THIS FILE! Use an override template instead. *} | ||
<div class="object-{$object_parameters.align}{if ne($classification|trim,'')} {$classification|wash}{/if}"{if is_set($id)} id="{$id}"{/if}> | ||
{$object.name|wash} - {"You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' )}. | ||
{"You do not have permission to view this object"|i18n( 'design/admin/node/view/embed' )}. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters