]> git.kaiwu.me - nginx.git/commit
SSL: the $ssl_client_escaped_cert variable (ticket #857).
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 22 Aug 2017 12:18:10 +0000 (15:18 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 22 Aug 2017 12:18:10 +0000 (15:18 +0300)
commit50a0f25c60bcc0fb46efcab00985c200c08c2b2f
tree5ccbff269a05fbc723224fde3c5f98e1114b9050
parent008e9caa2a5b784d337422f1dc4290edfb9cc640
SSL: the $ssl_client_escaped_cert variable (ticket #857).

This variable contains URL-encoded client SSL certificate.  In contrast
to $ssl_client_cert, it doesn't depend on deprecated header continuation.
The NGX_ESCAPE_URI_COMPONENT variant of encoding is used, so the resulting
variable can be safely used not only in headers, but also as a request
argument.

The $ssl_client_cert variable should be considered deprecated now.
The $ssl_client_raw_cert variable will be eventually renambed back
to $ssl_client_cert.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/http/modules/ngx_http_ssl_module.c
src/stream/ngx_stream_ssl_module.c