# HG changeset patch # User Yaroslav Zhuravlev # Date 1565201054 -10800 # Node ID c6581f9aefa3ed3a8d73fe202de7cb37ebf95efb # Parent bd026d5898b86466fd3ba1eb0ca1b6dec3c0bdf6 Documented Perl $r->internal_redirect() fixes. diff -r bd026d5898b8 -r c6581f9aefa3 xml/en/docs/http/ngx_http_perl_module.xml --- a/xml/en/docs/http/ngx_http_perl_module.xml Tue Jul 30 19:38:09 2019 +0300 +++ b/xml/en/docs/http/ngx_http_perl_module.xml Wed Aug 07 21:04:14 2019 +0300 @@ -10,7 +10,7 @@ + rev="7">
@@ -304,14 +304,15 @@ sets a value for the specified response header field. - + $r->internal_redirect(uri) does an internal redirect to the specified uri. An actual redirect happens after the Perl handler execution is completed. -Redirections to named locations are currently not supported. +Since version 1.17.2, the method accepts escaped URIs and +supports redirections to named locations. diff -r bd026d5898b8 -r c6581f9aefa3 xml/ru/docs/http/ngx_http_perl_module.xml --- a/xml/ru/docs/http/ngx_http_perl_module.xml Tue Jul 30 19:38:09 2019 +0300 +++ b/xml/ru/docs/http/ngx_http_perl_module.xml Wed Aug 07 21:04:14 2019 +0300 @@ -10,7 +10,7 @@ + rev="7">
@@ -304,14 +304,15 @@ устанавливает значение для заданного поля в заголовке ответа. - + $r->internal_redirect(uri) делает внутреннее перенаправление на указанный uri. Перенаправление происходит уже после завершения обработчика Perl. -На данный момент перенаправления в именованные location’ы не поддерживаются. +Начиная с версии 1.17.2 метод принимает экранированные URI и +поддерживает перенаправления в именованные location.