Ticket #22858

RSS でエスケープすべき文字がエスケープされていない

Open Date: 2010-08-19 01:22 Last Update: 2010-08-19 09:42

Reporter:
(del#1144)
Owner:
(None)
Type:
Status:
Closed
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Invalid
File:
None

Details

RSS への出力に < や > が含まれる場合、そのまま出力されています。

http://sourceforge.jp/projects/ttssh2/history/rss?cat%5B%5D=scm リビジョン4013 で確認できます。

svn 以外でも再現するかもしれません。また、これ以外にもエスケープすべき文字があるかもしれません。

Ticket History (3/4 Histories)

2010-08-19 01:22 Updated by: (del#1144)
  • New Ticket "RSS でエスケープすべき文字がエスケープされていない" created
2010-08-19 09:10 Updated by: ishikawa
  • Component Update from (None) to その他
Comment
wget 'http://sourceforge.jp/projects/ttssh2/history/rss?cat[]=scm'

して、生のデータをとって中身を見てみたのですが ご指摘の リビジョン 4013 のところに関しては

   <description>strsplitで &lt;count&gt; の考慮漏れを修正した。

とエスケープされているようです。ここではないのでしょうか?

2010-08-19 09:23 Updated by: (del#1144)
  • Resolution Update from None to Invalid
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2010-08-19 09:23
Comment

IE で XML を見るとそう見えていただけで、Firefox で見てみてると実データはエスケープされていました。失礼しました。

2010-08-19 09:42 Updated by: ishikawa
Comment

あっ なるほど 了解です。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login