Yes, I believe it should check r->args. I don't think you are stupid, severely or otherwise... ;)
Pier Fumagalli wrote: > "Kris Verbeeck" <[EMAIL PROTECTED]> wrote: > > >>apr_status_t cache_generate_key_default( request_rec *r, apr_pool_t*p, >>char**key ) >>{ >>- *key = apr_pstrdup(p,r->uri); >>+ *key = apr_pstrcat(p,r->uri, "?", r->args, NULL); >> return APR_SUCCESS; >>} >> > > Hm... This should be something like: > > If (r->args) { > *key = apr_pstrcat(p,r->uri, "?", r->args, NULL); > } else { > *key = apr_pstrdup(p,r->uri); > } > > But I might be severely stupid... > > Pier > > > > -- Paul J. Reder ----------------------------------------------------------- "The strength of the Constitution lies entirely in the determination of each citizen to defend it. Only if every single citizen feels duty bound to do his share in this defense are the constitutional rights secure." -- Albert Einstein