View Issue Details

IDProjectCategoryView StatusLast Update
0004323SOGoBackend Generalpublic2018-03-06 14:32
ReporterMarcel Assigned Tofrancis  
Status resolvedResolutionfixed 
Product Versionnightly master 
Fixed in Version4.0.0 
Summary0004323: does not handle URLs without port

Having URLs such as "postgresql://sogo:sogo@localhost/mail/sogo_folder_info" in /etc/sogo/sogo.conf will cause to abort with "ERROR: Failed to parse value of OCSFolderInfoURL in /etc/sogo/sogo.conf".

There is no indication that this is due to the missing port number, i.e., the database URLs need to be in the form "postgresql://sogo:sogo@localhost:5432/mail/sogo_folder_info".

Please do change the RegExp to include this case as well or update the error message.

Additional Information

Also, the RegExp will probably not handle numeric IPv6 addresses ("[::1]") in the URL.

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-10-24 16:52 Marcel New Issue
2017-10-24 19:12 francis Source_changeset_attached => sogo master 141af57e
2017-10-24 19:12 francis Assigned To => francis
2017-10-24 19:12 francis Resolution open => fixed
2017-10-24 19:14 francis Source_changeset_attached => sogo master fe75cb39
2018-03-06 14:32 ludovic Status new => resolved
2018-03-06 14:32 ludovic Fixed in Version => 4.0.0