Commit 59dbab68 authored by Daniel Lopretto's avatar Daniel Lopretto

`urlencode` mongo password

parent 81ae6b9a
......@@ -182,7 +182,7 @@ class Connection extends \Illuminate\Database\Connection
$auth .= $username;
}
if (! empty($password)) {
$auth .= ':'.$password;
$auth .= ':' . urlencode($password);
}
if ($auth) {
$auth .= '@';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment