mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
6ca8967a44
Without this, repository paths or names containing e.g. & characters or html tags yielded strange results, possibly allowing cross-site scripting attacks.
9 lines
337 B
Cheetah
9 lines
337 B
Cheetah
<entry>
|
|
<title>{branch|escape}</title>
|
|
<link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/>
|
|
<id>{urlbase}{url|urlescape}#branch-{node}</id>
|
|
<updated>{date|rfc3339date}</updated>
|
|
<published>{date|rfc3339date}</published>
|
|
<content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content>
|
|
</entry>
|