[EMAIL PROTECTED] (Robert Locke) wrote:
>Below is a proposed patch to AuthCookie.pm that I believe solves this
>problem.  Basically, I replaced each occurrence of the above with:
>    $r->err_headers_out->add("Set-Cookie" => ...

I think you've got the patch backwards.

>PS. Who's the current maintainer of Apache::AuthCookie?  I seem to
>remember reading somehwere that it is no longer Eric Bartley.

Yeah, it's not.  I've been toying with the code and improving it, but my
improvements make it non-backward-compatible.  So I might need to change
the name and make myself the owner of the new version.  Not that I have
a lot of time...

>------------------------------------------------------------------------------
>diff AuthCookie.pm*
>112c112
><              $r->err_headers_out->add("Set-Cookie" => $auth_type . "_" .
>---
>>              $r->err_header_out("Set-Cookie" => $auth_type . "_" .
>114c114
><              $r->log_error("set_cookie " . $r->err_headers_out->add("Set-Cookie"))
>---
>>              $r->log_error("set_cookie " . $r->err_header_out("Set-Cookie"))
>142c142
><      $r->err_headers_out->add("Set-Cookie" => $auth_type . "_" . $auth_name .
>---
>>      $r->err_header_out("Set-Cookie" => $auth_type . "_" . $auth_name .
>145c145
><      $r->log_error("set_cookie " . $r->err_headers_out->add("Set-Cookie"))
>---
>>      $r->log_error("set_cookie " . $r->err_header_out("Set-Cookie"))
>------------------------------------------------------------------------------
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

Reply via email to