Skip to content

Commit

Permalink
Fix XPath encoding (#5912)
Browse files Browse the repository at this point in the history
fix #5430
fix #5911
  • Loading branch information
Alkarex committed Nov 30, 2023
1 parent 7e1f549 commit 969758a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/index/rss.phtml
Expand Up @@ -8,11 +8,11 @@
>
<channel>
<title><?= $this->rss_title ?></title>
<link><?= $this->internal_rendering ? $this->rss_url : Minz_Url::display('', 'html', true) ?></link>
<link><?= $this->internal_rendering ? htmlspecialchars($this->rss_url, ENT_NOQUOTES, 'UTF-8') : Minz_Url::display('', 'html', true) ?></link>
<description><?= _t('index.feed.rss_of', $this->rss_title) ?></description>
<pubDate><?= date('D, d M Y H:i:s O') ?></pubDate>
<lastBuildDate><?= gmdate('D, d M Y H:i:s') ?> GMT</lastBuildDate>
<atom:link href="<?= $this->internal_rendering ? $this->rss_url :
<atom:link href="<?= $this->internal_rendering ? htmlspecialchars($this->rss_url, ENT_COMPAT, 'UTF-8') :
Minz_Url::display($this->rss_url, 'html', true) ?>" rel="self" type="application/rss+xml" />
<?php
/** @var FreshRSS_Entry */
Expand Down

0 comments on commit 969758a

Please sign in to comment.