aria2/test/metalink4-dosdirtraversal.xml
Tatsuhiro Tsujikawa 460ee92644 2010-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that name attribute of file element in Metalink file
	is not properly sanitized.
	* src/Metalink2RequestGroup.cc
	* src/MetalinkParserController.cc
	* test/Makefile.am
	* test/Metalink2RequestGroupTest.cc
	* test/metalink4-dosdirtraversal.xml
2010-05-06 14:18:29 +00:00

15 lines
543 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<metalink xmlns="urn:ietf:params:xml:ns:metalink">
<file name="..\..\example.ext">
<url location="fr" priority="1">http://example.com/example.ext</url>
</file>
<file name="..\..\file1.ext">
<size>12345</size>
<metaurl mediatype="torrent" name="d/file1.ext">http://example.com/example.torrent</metaurl>
</file>
<file name="..\..\file2.ext">
<size>12345</size>
<metaurl mediatype="torrent" name="d/file2.ext">http://example.com/example.torrent</metaurl>
</file>
</metalink>