Project

General

Profile

Bug #2730

http auth does not send WWW-Authenticate header in git rev 598cdd0

Added by roytam1 about 4 years ago. Updated about 4 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_auth
Target version:
ASK QUESTIONS IN Forums:

Description

I tested latest git rev (598cdd0) and it always returns "HTTP/1.1 401 Unauthorized" without WWW-Authenticate header.

Config:

#### auth module
auth.backend               = "plain" 
auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user" 

auth.require = ( "/protected/" =>
    ( "method" => "basic",
      "realm" => "Password protected area",
      "require" => "user=puser" 
    )
)

#1

Updated by gstrauss about 4 years ago

Thanks for testing HEAD.

The issue is due to

commit 299173a3b5fc5b79b80f24c8378c20586d473919
Author: Glenn Strauss <gstrauss@gluelogic.com>
Date:   Mon May 2 16:23:51 2016 -0400

    reset response headers, write_queue for error docs

I'll prepare a fix.

#2

Updated by gstrauss about 4 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100
#3

Updated by gstrauss about 4 years ago

Fixed in 29e7468d

Thanks for your report.

Also available in: Atom