Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115692 Details for
Bug 173717
www-apps/trac-accountmanager-0.1.3_pre20070407 (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for htdigest auth
trac-accountmanager-0.1.3_pre20070407_ticket_1392.diff (text/plain), 1.18 KB, created by
Eddy Mulyono
on 2007-04-08 00:07:18 UTC
(
hide
)
Description:
patch for htdigest auth
Filename:
MIME Type:
Creator:
Eddy Mulyono
Created:
2007-04-08 00:07:18 UTC
Size:
1.18 KB
patch
obsolete
>--- trac-accountmanager-svn-0.10/acct_mgr/htfile.py 2007-03-30 23:59:21.000000000 -0700 >+++ /tmp/htfile.py25341nCu 2007-03-30 23:59:21.000000000 -0700 >@@ -68,7 +68,7 @@ > try: > for line in fd: > if line.startswith(prefix): >- return self._check_userline(password, prefix, >+ return self._check_userline(user, password, prefix, > line[len(prefix):].rstrip('\n')) > finally: > fd.close() >@@ -134,7 +134,7 @@ > def userline(self, user, password): > return self.prefix(user) + htpasswd(password) > >- def _check_userline(self, password, prefix, suffix): >+ def _check_userline(self, user, password, prefix, suffix): > return suffix == htpasswd(password, suffix) > > def _get_users(self, filename): >@@ -172,7 +172,7 @@ > def userline(self, user, password): > return self.prefix(user) + htdigest(user, self.realm, password) > >- def _check_userline(self, password, prefix, suffix): >+ def _check_userline(self, user, password, prefix, suffix): > return suffix == htdigest(user, self.realm, password) > > def _get_users(self, filename):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 173717
:
115690
| 115692