TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: rust-rss – library for serializing the RSS web content format

35 点作者 frewsxcv大约 10 年前

4 条评论

iagooar大约 10 年前
Nice! It&#x27;s good to see libraries like these popping up, adding more value to the Rust ecosystem.<p>Coming from Ruby and Rails, I&#x27;m excited to dive into low-level programming with Rust. It is just so refreshing to have control over stuff that is totally abstracted away in Ruby, while being safe enough just to not shoot myself in the foot each time.
评论 #9518758 未加载
nl大约 10 年前
I dont know Rust, but I think this could be vulnerable to XXE attacks[1]. Back in the day I fixed all the Java RSS libraries so now I always look for it. It&#x27;s not exactly an obvious problem.<p>Also you should add RSS 1.0 (RDF) and Atom support.<p>[1] <a href="https:&#x2F;&#x2F;www.owasp.org&#x2F;index.php&#x2F;XML_External_Entity_%28XXE%29_Processing" rel="nofollow">https:&#x2F;&#x2F;www.owasp.org&#x2F;index.php&#x2F;XML_External_Entity_%28XXE%2...</a>
评论 #9518538 未加载
gsnedders大约 10 年前
A quick look shows that RustyXML doesn&#x27;t have complete error-checking when building a tree, so it&#x27;s possible to get this library to generate output that isn&#x27;t well-formed XML (hi parse-errors!), which should be a worry if you&#x27;re taking input from other sources (with arbitrary strings).
评论 #9518463 未加载
blaenk大约 10 年前
Wow, just now I needed something like this for my rust package!