Skip to content

Update documentation for ngx.req.set_uri#2515

Open
devicenull wants to merge 1 commit into
openresty:masterfrom
devicenull:devicenu11-improve-set-uri-docs
Open

Update documentation for ngx.req.set_uri#2515
devicenull wants to merge 1 commit into
openresty:masterfrom
devicenull:devicenu11-improve-set-uri-docs

Conversation

@devicenull

Copy link
Copy Markdown
Contributor

set_uri causes ngx.req.is_internal() to become true - see https://github.com/openresty/lua-nginx-module/blame/de7e57f4b6c12699b4c47b6abb70817f1124026f/src/ngx_http_lua_uri.c#L122

This is not expected behavior IMO and warrents a note in the documentation.

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.

set_uri causes ngx.req.is_internal() to become true - see https://github.com/openresty/lua-nginx-module/blame/de7e57f4b6c12699b4c47b6abb70817f1124026f/src/ngx_http_lua_uri.c#L122

This is not expected behavior IMO and warrents a note in the documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant