/[Apache-SVN]/httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 468042, Thu Oct 26 15:39:41 2006 UTC revision 571798, Sat Sep 1 13:26:27 2007 UTC
# Line 138  static authn_status authn_dbd_password(r Line 138  static authn_status authn_dbd_password(r
138                  char *str = apr_pstrcat(r->pool, AUTHN_PREFIX,                  char *str = apr_pstrcat(r->pool, AUTHN_PREFIX,
139                                          name,                                          name,
140                                          NULL);                                          NULL);
141                  int j = 13;                  int j = sizeof(AUTHN_PREFIX)-1; /* string length of "AUTHENTICATE_", excluding the trailing NIL */
142                  while (str[j]) {                  while (str[j]) {
143                      if (!apr_isalnum(str[j])) {                      if (!apr_isalnum(str[j])) {
144                          str[j] = '_';                          str[j] = '_';
# Line 222  static authn_status authn_dbd_realm(requ Line 222  static authn_status authn_dbd_realm(requ
222                  char *str = apr_pstrcat(r->pool, AUTHN_PREFIX,                  char *str = apr_pstrcat(r->pool, AUTHN_PREFIX,
223                                          name,                                          name,
224                                          NULL);                                          NULL);
225                  int j = 13;                  int j = sizeof(AUTHN_PREFIX)-1; /* string length of "AUTHENTICATE_", excluding the trailing NIL */
226                  while (str[j]) {                  while (str[j]) {
227                      if (!apr_isalnum(str[j])) {                      if (!apr_isalnum(str[j])) {
228                          str[j] = '_';                          str[j] = '_';

Legend:
Removed from v.468042  
changed lines
  Added in v.571798

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2