com web/bugs: Use noHtml() instead of e() to escape data in href attribute: templates/pages/index.php

From: Date: Wed, 22 May 2019 13:45:17 +0000
Subject: com web/bugs: Use noHtml() instead of e() to escape data in href attribute: templates/pages/index.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-28063@lists.php.net to get a copy of this message
Commit: 03e280e9bcc6fb964e6c7b8fc9e54ab93d6b14f4 Author: Pieter Hordijk <info@pieterhordijk.com> 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>

« previous php.webmaster (#28063) next »