Mercurial > hg > nginx-tests
changeset 175:b5352cabdadb
Tests: autoindex escaping fixed in 1.1.6, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 01 Nov 2011 20:58:45 +0300 |
parents | c8169c827d18 |
children | 847811d5192c |
files | autoindex.t |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/autoindex.t Thu Sep 29 01:29:36 2011 +0400 +++ b/autoindex.t Tue Nov 01 20:58:45 2011 +0300 @@ -89,30 +89,15 @@ like($r, qr!test-long-0{37}\.\.>!ms, 'long name'); like($r, qr!href="test-escape-url-%25"!ms, 'escaped url'); - -{ -local $TODO = 'not fixed yet'; - like($r, qr!href="test-escape-url2-%3f"!ms, 'escaped ? in url'); - -} - -{ -local $TODO = 'patch under review'; - like($r, qr!test-escape-html-<>&!ms, 'escaped html'); like($r, qr!test-long-(>){37}\.\.>!ms, 'long escaped html'); -} - $r = http_get('/utf8/'); like($r, qr!test-utf8-(\xd1\x84){3}</a>!ms, 'utf8'); like($r, qr!test-utf8-(\xd1\x84){37}\.\.!ms, 'utf8 long'); -{ -local $TODO = 'patch under review'; - like($r, qr!test-utf8-<>&-\xd1\x84</a>!ms, 'utf8 escaped'); like($r, qr!test-utf8-<>&-(\xd1\x84){33}\.\.!ms, 'utf8 escaped long'); @@ -121,6 +106,4 @@ like(http_get('/test-dir-escape-<>&/'), qr!test-dir-escape-<>&!ms, 'escaped title'); -} - ###############################################################################