display url decoded links

This commit is contained in:
ghost 2023-05-05 20:09:15 +03:00
parent bca05e66e9
commit 0e7220f7f8

View File

@ -386,7 +386,7 @@ if (!empty($q)) {
<?php } ?>
<a href="<?php echo $hostPageURL ?>">
<img src="<?php echo WEBSITE_DOMAIN ?>/image.php?q=<?php echo urlencode($hostPage->name) ?>" alt="favicon" width="16" height="16" class="icon" />
<?php echo $hostPageURL ?>
<?php echo htmlentities(urldecode($hostPageURL)) ?>
</a>
<?php } ?>
<?php } ?>
@ -419,7 +419,7 @@ if (!empty($q)) {
<?php } ?>
<a href="<?php echo $hostPageURL ?>">
<img src="<?php echo WEBSITE_DOMAIN; ?>/image.php?q=<?php echo urlencode($hostPage->name) ?>" alt="favicon" width="16" height="16" class="icon" />
<?php echo $hostPageURL ?>
<?php echo htmlentities(urldecode($hostPageURL)) ?>
</a>
</div>
<?php } ?>