Skip to content

Commit

Permalink
Convert any special characters from 'Site Name' settled in Global Con…
Browse files Browse the repository at this point in the history
…figuration (#17209)

Example
Site name: my "website name"

HTML output
without this change:
<img src="/administrator/templates/isis/images/joomla.png" alt="my " website="" name""="">

with this change:
<img src="/administrator/templates/isis/images/joomla.png" alt="my &quot;website name&quot;">
  • Loading branch information
nppsbh authored and Michael Babker committed Sep 1, 2017
1 parent b0dd434 commit 3d2d25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/templates/isis/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
$sitename = $app->get('sitename');
$sitename = htmlspecialchars($app->get('sitename', ''), ENT_QUOTES, 'UTF-8');

function colorIsLight($color)
{
Expand Down

0 comments on commit 3d2d25b

Please sign in to comment.