Commit: 03e280e9bcc6fb964e6c7b8fc9e54ab93d6b14f4 Author: Pieter Hordijk <[email protected]> Wed, 22 May 2019 16:45:17 +0300 Parents: 49dd23a4a88040cf1134c374b2369a104f803765 Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=03e280e9bcc6fb964e6c7b8fc9e54ab93d6b14f4 Log: Use noHtml() instead of e() to escape data in href attribute Changed paths: M templates/pages/index.php Diff: diff --git a/templates/pages/index.php b/templates/pages/index.php index 177e93f..dedb98b 100644 --- a/templates/pages/index.php +++ b/templates/pages/index.php @@ -60,7 +60,7 @@ open bug and see if you can help resolve it. We have made it easy. Hit <ul> <?php foreach ($searches as $title => $link): ?> - <li><a href="<?= $this->e($link) ?>"><?= $this->e($title) ?></a></li> + <li><a href="<?= $this->noHtml($link) ?>"><?= $this->e($title) ?></a></li> <?php endforeach ?> </ul> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
