mirror of https://github.com/BOINC/boinc.git
- web: escape forum RSS entries instead of stripping tags
(from Nicolas; fixes #899) svn path=/trunk/boinc/; revision=18190
This commit is contained in:
parent
4287dface3
commit
2cf3c39055
|
@ -4706,4 +4706,10 @@ Rom 20 May 2009
|
||||||
/
|
/
|
||||||
configure.ac
|
configure.ac
|
||||||
version.h
|
version.h
|
||||||
|
|
||||||
|
David 22 May 2009
|
||||||
|
- web: escape forum RSS entries instead of stripping tags
|
||||||
|
(from Nicolas; fixes #899)
|
||||||
|
|
||||||
|
html/user/
|
||||||
|
forum_rss.php
|
||||||
|
|
|
@ -122,7 +122,7 @@ foreach ($threads as $thread) {
|
||||||
<title>".strip_tags($thread->title)."</title>
|
<title>".strip_tags($thread->title)."</title>
|
||||||
<link>$unique_url</link>
|
<link>$unique_url</link>
|
||||||
<guid isPermaLink=\"true\">$unique_url</guid>
|
<guid isPermaLink=\"true\">$unique_url</guid>
|
||||||
<description>".substr(strip_tags($post->content),0,255)." . . .</description>
|
<description>".htmlspecialchars(htmlspecialchars(substr($post->content,0,255)))." . . .</description>
|
||||||
<pubDate>$post_date</pubDate>
|
<pubDate>$post_date</pubDate>
|
||||||
</item>
|
</item>
|
||||||
";
|
";
|
||||||
|
|
Loading…
Reference in New Issue