Kaynağa Gözat

Merge pull request #973 from Alkarex/TagBug

Tag link encoding bug
Alexandre Alapetite 10 yıl önce
ebeveyn
işleme
55764935a7

+ 1 - 0
CHANGELOG.md

@@ -10,6 +10,7 @@
 * Bug fixing
 	* Session cookie bug [#924](https://github.com/FreshRSS/FreshRSS/issues/924)
 	* Better error handling for PubSubHubbub [#939](https://github.com/FreshRSS/FreshRSS/issues/939)
+	* Fix tag search link from articles [#970](https://github.com/FreshRSS/FreshRSS/issues/970)
 
 
 ## 2015-07-30 FreshRSS 1.1.2-beta

+ 1 - 1
app/views/helpers/index/normal/entry_bottom.phtml

@@ -71,7 +71,7 @@
 			<ul class="dropdown-menu">
 				<li class="dropdown-close"><a href="#close">❌</a></li><?php
 				foreach($tags as $tag) {
-					?><li class="item"><a href="<?php echo _url('index', 'index', 'search', urlencode('#' . $tag)); ?>"><?php echo $tag; ?></a></li><?php
+					?><li class="item"><a href="<?php echo _url('index', 'index', 'search', '#' . htmlspecialchars_decode($tag)); ?>"><?php echo $tag; ?></a></li><?php
 				} ?>
 			</ul>
 		</div>