Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

remove left over '>' in description and replace ' ' by '+' in rss search where URL-encoded parameters are required.

fuchsiebfd1e0b42c7
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java
index 22af7bf7e..c454a1251 100644
--- a/htroot/yacysearch.java
+++ b/htroot/yacysearch.java
@@ -412,7 +412,7 @@ public class yacysearch {
// for RSS: don't HTML encode some elements
String q = htmlTools.encodeUnicode2xml(post.get("search", ""));
prop.putASIS("rss_query", q);
- prop.putASIS("rss_queryenc", yacyURL.escape(q));
+ prop.putASIS("rss_queryenc", yacyURL.escape(q.replace(' ', '+')));
// return rewrite properties
return prop;
diff --git a/htroot/yacysearchitem.html b/htroot/yacysearchitem.html
index a9d9fe280..0ba3e074a 100644
--- a/htroot/yacysearchitem.html
+++ b/htroot/yacysearchitem.html
@@ -43,7 +43,7 @@
<item>
<title>#[title]#</title>
<link>#[link]#</link>
-<description>#[description]#></description>
+<description>#[description]#</description>
<pubDate>#[date]#</pubDate>
<guid isPermaLink="false">#[urlhash]#</guid>
</item>