urlencode identicon requests

This commit is contained in:
ghost 2023-04-03 01:33:23 +03:00
parent ff95df72c1
commit 18edb66ab0

View File

@ -194,7 +194,7 @@ if (!empty($q)) {
<span><?php echo $result->description ?></span> <span><?php echo $result->description ?></span>
<?php } ?> <?php } ?>
<a href="<?php echo $result->url ?>"> <a href="<?php echo $result->url ?>">
<img src="<?php echo WEBSITE_DOMAIN; ?>/image.php?q=<?php echo parse_url($result->url, PHP_URL_HOST) ?>" alt="favicon" /> <img src="<?php echo WEBSITE_DOMAIN; ?>/image.php?q=<?php echo urlencode(parse_url($result->url, PHP_URL_HOST)) ?>" alt="favicon" />
<?php echo $result->url ?> <?php echo $result->url ?>
</a> </a>
</div> </div>