test server: add podcast with space in the filename, not encoded

This commit is contained in:
Eric Le Lay 2020-07-12 18:28:42 +02:00
parent 3ae875d5a0
commit 818441d588
1 changed files with 10 additions and 0 deletions

View File

@ -87,6 +87,16 @@ def mkrss(items=EP_COUNT):
type="%(EPISODES_MIME)s"
length="%(SIZE)s"/>
</item>""" % dict(list(locals().items()) + list(globals().items()))
ITEMS += """
<item>
<title>Space in url Episode</title>
<guid>tag:test.gpodder.org,2012:timeout</guid>
<pubDate>Sun, 25 Nov 2018 17:28:03 +0000</pubDate>
<enclosure
url="%(URL)s/%(EPISODES)s with space%(EPISODES_EXT)s"
type="%(EPISODES_MIME)s"
length="%(SIZE)s"/>
</item>""" % dict(list(locals().items()) + list(globals().items()))
return """
<rss>