Skip to content

Commit e84b2bb

Browse files
authored
Fix encoding for a few popup links (joomla#43874)
1 parent a130602 commit e84b2bb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

administrator/components/com_finder/tmpl/index/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
Text::_('COM_FINDER_CONTENT_PLUGIN'),
4444
[
4545
'class' => 'alert-link',
46-
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES)),
46+
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)),
4747
'data-checkin-url' => Route::_('index.php?option=com_plugins&task=plugins.checkin&format=json&cid[]=' . $this->finderPluginId),
4848
'data-close-on-message' => '',
4949
'data-reload-on-close' => '',

administrator/components/com_finder/tmpl/index/emptystate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
Text::_('COM_FINDER_CONTENT_PLUGIN'),
4848
[
4949
'class' => 'alert-link',
50-
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES)),
50+
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)),
5151
'data-checkin-url' => Route::_('index.php?option=com_plugins&task=plugins.checkin&format=json&cid[]=' . $this->finderPluginId),
5252
'data-close-on-message' => '',
5353
'data-reload-on-close' => '',

administrator/components/com_redirect/tmpl/links/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
Text::_('COM_REDIRECT_SYSTEM_PLUGIN'),
5252
[
5353
'class' => 'alert-link',
54-
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES)),
54+
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)),
5555
'data-checkin-url' => Route::_('index.php?option=com_plugins&task=plugins.checkin&format=json&cid[]=' . $redirectPluginId),
5656
'data-close-on-message' => '',
5757
'data-reload-on-close' => '',

administrator/components/com_redirect/tmpl/links/emptystate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
Text::_('COM_REDIRECT_SYSTEM_PLUGIN'),
6666
[
6767
'class' => 'alert-link',
68-
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES)),
68+
'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)),
6969
'data-checkin-url' => Route::_('index.php?option=com_plugins&task=plugins.checkin&format=json&cid[]=' . $redirectPluginId),
7070
'data-close-on-message' => '',
7171
'data-reload-on-close' => '',

0 commit comments

Comments
 (0)