Ticket #1046 (new enhancement)

Opened 2 years ago

Last modified 3 weeks ago

htpasswd file does not work when more than two fields exist

Reported by: schwark@alum.rpi.edu Assigned to: pacopablo
Priority: normal Component: AccountManagerPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.11

Description

while standard htpasswd files only have username:password it would be good to be able to add other fields to the htpasswd files (like Twiki does) separated by more ':'.. The current implementation reads the password till end of line instead of till next ':' - would be great to make it stop at next ':'

Attachments

1046.patch (0.6 kB) - added by luchko@mail.ru on 07/13/07 06:28:32.
The patch that fixes the problem

Change History

12/23/06 22:41:57 changed by anonymous

  • type changed from defect to enhancement.
  • severity changed from normal to trivial.

07/13/07 06:28:32 changed by luchko@mail.ru

  • attachment 1046.patch added.

The patch that fixes the problem

10/29/08 17:47:02 changed by pacopablo

  • owner changed from mgood to pacopablo.
  • release changed from 0.10 to 0.11.

I know that this is a bit of a late response, but my question is: Why is it a good idea to allow for arbitrary fields in the htpasswd file?

In the case of a password file containing digest and normal password hashes, this would cause a problem as it would take the "realm" portion of the digest line to be the password for the given user.


Add/Change #1046 (htpasswd file does not work when more than two fields exist)




Change Properties
Action