Skip Menu |

This queue is for tickets about the Apache-DBI CPAN distribution.

Report information
The Basics
Id: 20809
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Apache-DBI

Owner: pgollucci [...]
Requestors: vst [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Bug report
Date: Wed, 02 Aug 2006 14:43:21 +0300
To: bug-Apache-DBI [...]
From: "Vladimir S. Tikhonjuk" <vst [...]>
Download (untitled) / with headers
text/plain 928b
Distribution name and version: Apache-AuthDBI-1.01 Perl version: v5.8.8 Operating System vendor and version: Linux pluton 2.6.16-gentoo-r7 #4 Thu Jun 8 15:51:50 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux line 218: # here the dialog pops up and asks you for username and password line 219: my ($res, $passwd_sent) = $r->get_basic_auth_pw; line 220: debug (2, "$prefix get_basic_auth_pw: res = >$res<, password sent = >$passwd_sent<"); line 221: return $res if $res; # e.g. HTTP_UNAUTHORIZED It's better to put debug (line 220) to 221 line and return (line 221) to 220 line, because then next message prints to log every time before authorization: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Apache/ line 220. 32081 Apache::AuthDBI::authen get_basic_auth_pw: res = >401<, password sent = >< Or set $passwd_sent var to '' if it's undef.
Download (untitled) / with headers
text/plain 203b
Committed revision 6745. I'm going to hold up on releasing Apache-DBI 1.03 to cpan as you seem to be progressing through the and reporting things back nicely. At any rate, its fixed in the SVN sources.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to