File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/code/Magento/AdminNotification/Block/Grid/Renderer Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
namespace Magento \AdminNotification \Block \Grid \Renderer ;
10
10
11
+ /**
12
+ * Renderer class for action in the admin notifications grid.
13
+ */
11
14
class Actions extends \Magento \Backend \Block \Widget \Grid \Column \Renderer \AbstractRenderer
12
15
{
13
16
/**
@@ -37,7 +40,8 @@ public function __construct(
37
40
*/
38
41
public function render (\Magento \Framework \DataObject $ row )
39
42
{
40
- $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' . $ row ->getUrl () . '"> ' .
43
+ $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' .
44
+ $ this ->escapeUrl ($ row ->getUrl ()) . '"> ' .
41
45
__ ('Read Details ' ) . '</a> ' : '' ;
42
46
43
47
$ markAsReadHtml = !$ row ->getIsRead () ? '<a class="action-mark" href=" ' . $ this ->getUrl (
You can’t perform that action at this time.
0 commit comments