hello,
i'm doing different authorization method module and i want to set
remote_user variable upon success. but ngx_http_variable_remote_user
in src/http/ngx_http_variables.c assumes basic auth method.
for now i've added bogus, dummy mangling of authorization header
to my module in order to please the higher powers...
but i'd rather there was systemic way to deal with it.
i'm attaching a proposal for a patch to do the "trick". not tested yet.
so perhaps i could put more thought into it if it doesn't work... thaaaat way.
mike
--
(let* ((mk "MichaĆ Kowalski") (sig `(lambda () ,mk))) ((eval sig)))
Attachments:
open |
download -
ngx_http_variable_remote_user.diff
(677 bytes)