uri-escape-mysql-password.patch
root/etc/e-smith/templates/sogo-config/10mysql | ||
---|---|---|
2 | 2 |
# |
3 | 3 |
# 10mysql |
4 | 4 |
# |
5 |
my $connString = 'mysql://sogo:' . ($mysqlPassword || 'sogo') . '@localhost/sogo'; |
|
5 |
use URI::Escape; |
|
6 | ||
7 |
my $connString = 'mysql://sogo:' . ( uri_escape($mysqlPassword) || 'sogo') . '@localhost/sogo'; |
|
6 | 8 | |
7 | 9 |
$S{SOGoProfileURL} = $connString . '/sogo_user_profile'; |
8 | 10 |
$S{OCSFolderInfoURL} = $connString . '/sogo_folder_info'; |