'L{static.DirectoryLister} escape "&", "<" and ">" after unquoting the
request uri.'

def test_escapeHeader(self):

    path = FilePath(self.mktemp())
    path.makedirs()
    lister = static.DirectoryLister(path.path)
    data = lister.render(self._request('foo%26bar'))
    self.assertIn('<h1>Directory    listing    for    foo&amp;bar</h1>', data)
    self.assertIn('<title>Directory    listing    for    foo&amp;bar</title>', data)
