Skip to content

Commit

Permalink
pkp/pkp-lib#9283 Correctly escape special characters in issue title (…
Browse files Browse the repository at this point in the history
…stable-3_4_0)
  • Loading branch information
asmecher committed Sep 7, 2023
1 parent bff3831 commit 66927de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/grid/issues/IssueGridCellProvider.php
Expand Up @@ -58,7 +58,7 @@ public function getCellActions($request, $row, $column, $position = GridHandler:
'edit',
new AjaxModal(
$router->url($request, null, null, 'editIssue', null, ['issueId' => $issue->getId()]),
__('editor.issues.editIssue', ['issueIdentification' => $issue->getIssueIdentification()]),
__('editor.issues.editIssue', ['issueIdentification' => htmlspecialchars($issue->getIssueIdentification())]),
'modal_edit',
true
),
Expand Down
2 changes: 1 addition & 1 deletion controllers/grid/issues/IssueGridRow.php
Expand Up @@ -50,7 +50,7 @@ public function initialize($request, $template = null)
'edit',
new AjaxModal(
$router->url($request, null, null, 'editIssue', null, ['issueId' => $issueId]),
__('editor.issues.editIssue', ['issueIdentification' => $issue->getIssueIdentification()]),
__('editor.issues.editIssue', ['issueIdentification' => htmlspecialchars($issue->getIssueIdentification())]),
'modal_edit',
true
),
Expand Down

0 comments on commit 66927de

Please sign in to comment.