opened
queo-composer
username_0
In the case when domain does NOT begin with a dot, no domain will be sent in the Cookie.

Patch here:

--- mod_authnz_crowd.c.1        2019-06-07 10:11:58.840568628 +0200
+++ mod_authnz_crowd.c.2        2019-06-07 10:12:12.708600882 +0200
@@ -486,6 +486,9 @@
                         domain = apr_psprintf(r->pool, ";Domain=%s", cookie_config->domain);
                     }
                 }
+                else {
+                        domain = apr_psprintf(r->pool, ";Domain=%s", cookie_config->domain);
+                }


                 char *cookie = log_ralloc(r,
                     apr_psprintf(r->pool, "%s=%s%s%s%s;Version=1;Path=/", cookie_config->cookie_name, token,
                     domain, cookie_config->secure ? ";Secure" : "", config->set_http_only ? ";HttpOnly" : ""));
Forgot the case when domain does NOT begin with dot
issue
created
ferstl
username_1
Hi
Thanks for the patch. But doesn't it miss the `cookie_config->domain != NULL` case?
comment