mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 18:36:21 +00:00
Fix broken support for case-sensitive account names
Don't lower account name before calling accounts_get_account(). Only lower if there is no account with the given name and the name is interpreted as a jid. Updated unittests to test this behaviour. Fixes #725 .
This commit is contained in:
@@ -244,7 +244,10 @@ int main(int argc, char* argv[]) {
|
||||
unit_test_setup_teardown(cmd_connect_fail_message,
|
||||
load_preferences,
|
||||
close_preferences),
|
||||
unit_test_setup_teardown(cmd_connect_lowercases_argument,
|
||||
unit_test_setup_teardown(cmd_connect_lowercases_argument_with_account,
|
||||
load_preferences,
|
||||
close_preferences),
|
||||
unit_test_setup_teardown(cmd_connect_lowercases_argument_with_no_account,
|
||||
load_preferences,
|
||||
close_preferences),
|
||||
unit_test_setup_teardown(cmd_connect_asks_password_when_not_in_account,
|
||||
|
||||
Reference in New Issue
Block a user