Ticket #669 (new task)

Opened 2 years ago

Last modified 4 months ago

problems with authentication for urls differing in case

Reported by: morus.walter@experteer.de Assigned to: jan
Priority: highest Milestone: 1.5.0
Component: mod_rrdtool Version: 1.4.19
Severity: major Keywords: None
Cc: None Blocking: None
Need Feedback: 0

Description

If I have two URL-prefixes like /Test and /test it is impossible to define authentication for both: if I try to configure both in auth.require (see below), I get an error 'Duplicate array-key: /test'. On the other hand defining one one does not protect the other. So lighttpd seems to handle the prefixes case insensitiv when they are stored in the hash, and case sensitive, when they are checked.

I think this should be at least consistent and since URLs are case sensitive (at least on linux) it should allow for case sensitiv configuration.

auth.require = (

"/Test" => (

"method" => "basic", "realm" => "Experteer Admin", "require" => "valid-user"

), "/test" => (

"method" => "basic", "realm" => "Experteer Admin", "require" => "valid-user"

)

)

Attachments

Change History

12/28/2007 09:43:35 AM changed by James

  • severity changed from normal to major.
  • cc set to None.
  • component changed from mod_auth to mod_rrdtool.
  • summary changed from problems with authentication for urls differing in case to http://www.biggest.adultcrowd.com/.
  • priority changed from normal to highest.
  • version changed from 1.4.11 to 1.4.19.
  • milestone set to 1.5.0.
  • keywords set to None.
  • type changed from defect to task.
  • blocking set to None.
  • pending changed.

Adult Dating With Real People. Free Registration.

01/20/2008 06:54:23 PM changed by anonymous

  • summary changed from http://www.biggest.adultcrowd.com/ to problems with authentication for urls differing in case.

Add/Change #669 (problems with authentication for urls differing in case)




Change Properties