Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
dbce51e8
Commit
dbce51e8
authored
Jul 10, 2004
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 227191: Change DBI->connect syntax so database password will not be revealed if connect fails
r=bbaetz a=justdave
parent
1ade641d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
DB.pm
Bugzilla/DB.pm
+4
-2
checksetup.pl
checksetup.pl
+1
-1
No files found.
Bugzilla/DB.pm
View file @
dbce51e8
...
...
@@ -144,10 +144,12 @@ sub _connect {
# connect using our known info to the specified db
# Apache::DBI will cache this when using mod_perl
my
$dbh
=
DBI
->
connect
(
$dsn
,
$db_user
,
$db_pass
,
''
,
''
,
{
RaiseError
=>
1
,
PrintError
=>
0
,
Username
=>
$db_user
,
Password
=>
$db_pass
,
ShowErrorStatement
=>
1
,
HandleError
=>
\&
_handle_error
,
FetchHashKeyName
=>
'NAME_lc'
,
...
...
checksetup.pl
View file @
dbce51e8
...
...
@@ -246,7 +246,7 @@ my $modules = [
},
{
name
=>
'DBI'
,
version
=>
'1.3
2
'
version
=>
'1.3
6
'
},
{
name
=>
'DBD::mysql'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment