Commit cee66ee2 authored by Jens Segers's avatar Jens Segers

Merge pull request #748 from timemachine3030/hotfix/urlencode-connection-string

Urlencode mongo password
parents 81ae6b9a 59dbab68
...@@ -182,7 +182,7 @@ class Connection extends \Illuminate\Database\Connection ...@@ -182,7 +182,7 @@ class Connection extends \Illuminate\Database\Connection
$auth .= $username; $auth .= $username;
} }
if (! empty($password)) { if (! empty($password)) {
$auth .= ':'.$password; $auth .= ':' . urlencode($password);
} }
if ($auth) { if ($auth) {
$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