Skip to content

Update documentation for ngx.req.set_uri#2515

Merged
zhuizhuhaomeng merged 1 commit into
openresty:masterfrom
devicenull:devicenu11-improve-set-uri-docs
Jul 22, 2026
Merged

Update documentation for ngx.req.set_uri#2515
zhuizhuhaomeng merged 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.
@mergify

mergify Bot commented Jul 22, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@zhuizhuhaomeng
zhuizhuhaomeng merged commit 1731f35 into openresty:master Jul 22, 2026
4 of 7 checks passed
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.

2 participants