uri-escape-mysql-password.patch

Proposed solution - Davide Principi, 06/06/2013 06:29 PM

Download (632 Bytes)

View differences:

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';