Mercurial > hg > nginx-tests
changeset 1706:9c79f41fdf9b
Tests: updated test for spaces in URI to expect HTTP 400.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 28 Jun 2021 17:13:43 +0300 |
parents | 99a9b8b50f21 |
children | e3dd111410fe |
files | http_uri.t |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/http_uri.t Mon Jun 21 12:44:38 2021 +0300 +++ b/http_uri.t Mon Jun 28 17:13:43 2021 +0300 @@ -76,6 +76,11 @@ like(http_get('http://localhost:8080?args#frag'), qr!x / x.*y args y!ms, 'port args and frag'); -like(http_get('/ /'), qr!x / / x!, 'space'); +TODO: { +local $TODO = 'not yet'; + +like(http_get('/ /'), qr/400 Bad/, 'space'); + +} ###############################################################################