From: Dmitry Volyntsev Date: Fri, 26 Jul 2024 00:28:37 +0000 (-0700) Subject: Tests: adapting unsafe redirect test for QuickJS. X-Git-Tag: 0.8.6~28 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=3ac496802862347c5cf8f0b6e3825163dc7bb1c9;p=njs.git Tests: adapting unsafe redirect test for QuickJS. At the moment QuickJS has no API for getting strings with NUL characters in the middle of the string. Instead of a NUL byte make another unsafe redirect URI. --- diff --git a/nginx/t/js_internal_redirect.t b/nginx/t/js_internal_redirect.t index ec6be4e1..abfe79f9 100644 --- a/nginx/t/js_internal_redirect.t +++ b/nginx/t/js_internal_redirect.t @@ -72,7 +72,7 @@ $t->write_file('test.js', <