comparison ssi.t @ 1937:2a0a6035a1af

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 25 Aug 2023 18:12:08 +0400
parents 0605f9a6f7b0
children
comparison
equal deleted inserted replaced
1936:716d7500317d 1937:2a0a6035a1af
146 like(http_get('/test3.html'), qr/^XtestX$/m, 'set'); 146 like(http_get('/test3.html'), qr/^XtestX$/m, 'set');
147 147
148 like(http_get('/test4-echo-none.html'), qr/^X<test>X$/m, 148 like(http_get('/test4-echo-none.html'), qr/^X<test>X$/m,
149 'echo encoding none'); 149 'echo encoding none');
150 150
151 TODO: {
152 local $TODO = 'no strict URI escaping yet' unless $t->has_version('1.21.1');
153
154 like(http_get('/test5-echo-url.html'), qr/^X%3Ctest%3EX$/m, 151 like(http_get('/test5-echo-url.html'), qr/^X%3Ctest%3EX$/m,
155 'echo encoding url'); 152 'echo encoding url');
156
157 }
158 153
159 like(http_get('/test6-echo-entity.html'), qr/^X&lt;test&gt;X$/m, 154 like(http_get('/test6-echo-entity.html'), qr/^X&lt;test&gt;X$/m,
160 'echo encoding entity'); 155 'echo encoding entity');
161 156
162 # args should be in subrequest even if original request has no args and that 157 # args should be in subrequest even if original request has no args and that