Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: fixed #1612 subrequest's header must be case-insensitive. #2249

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

slimboyfat
Copy link

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

PR introduces two features for ngx.location.capture().header:

  • case-insensitive lookups (same as ngx.header.HEADER or ngx.req.get_headers())
  • keeps original case for header names

src/ngx_http_lua_subrequest.c Outdated Show resolved Hide resolved
src/ngx_http_lua_subrequest.c Outdated Show resolved Hide resolved
src/ngx_http_lua_subrequest.c Outdated Show resolved Hide resolved
src/ngx_http_lua_subrequest.c Outdated Show resolved Hide resolved
src/ngx_http_lua_subrequest.c Show resolved Hide resolved
@zhuizhuhaomeng zhuizhuhaomeng changed the title Fixes #1612 Subrequest's header must be case-insensitive. bugfix: fixed #1612 subrequest's header must be case-insensitive. Oct 26, 2023
@zhuizhuhaomeng zhuizhuhaomeng merged commit 0877b81 into openresty:0.10.25.x Oct 27, 2023
2 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