https://bz.apache.org/bugzilla/show_bug.cgi?id=56495
--- Comment #2 from Luca Memini <[email protected]> --- A little improvement for David's patch, Check conf->header is set to prevent segfault. thx all l. --- httpd-2.4.9.orig/modules/session/mod_session.c 2014-01-24 07:02:42.000000000 -0600 +++ httpd-2.4.9/modules/session/mod_session.c 2014-05-06 13:59:09.084183389 -0500 @@ -385,6 +385,13 @@ /* decode what we have */ encoded = apr_pstrdup(r->pool, z->encoded); + + /* Add the Decoded session info into the Input Headers + * for the application to find */ + session_dir_conf *conf = ap_get_module_config(r->per_dir_config, + &session_module); + if (conf->header) { + apr_table_set(r->headers_in, conf->header, encoded); + } + pair = apr_strtok(encoded, sep, &last); while (pair && pair[0]) { char *plast = NULL; -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
