Bug 487884

Summary: Plain default when parsing configuration files from IspdbService::requestConfig function fails
Product: [Applications] kmail2 Reporter: shushangw <beardwen>
Component: config dialogAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description shushangw 2024-06-01 13:21:37 UTC
SUMMARY
When the value of the <socketType> element in the configuration file (i.e., config-v1.1.xml) is not equal to the value defined by the specification (i.e., "ssl", "starttls", "none"), Kmail will set to the plain connection type by default.

STEPS TO REPRODUCE
1. Set the value of the <socketType> element to any value except "ssl", "starttls", "none";

OBSERVED RESULT
Default to plain connection type.

EXPECTED RESULT
Take a more conservative implementation that determines the connection type based on the port number.