mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
Allow user passwords with ':' characters
(cherry picked from commit 6c5e90eb84
)
This commit is contained in:
parent
3a36b22644
commit
fcb98539ce
@ -117,7 +117,7 @@ class AuthDriver < OpenNebulaDriver
|
||||
authN_path = File.join(@local_scripts_path, protocol)
|
||||
|
||||
command = File.join(authN_path,ACTION[:authN].downcase)
|
||||
command << ' ' << user << ' ' << password << ' ' << secret_attr.join(' ')
|
||||
command << ' ' << user << ' ' << password << ' ' << secret_attr.join(':')
|
||||
|
||||
local_action(command, request_id, ACTION[:authN])
|
||||
end
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "Group.h"
|
||||
|
||||
|
||||
const string User::INVALID_CHARS = " :\t\n\v\f\r";
|
||||
const string User::INVALID_CHARS = " \t\n\v\f\r";
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* User :: Database Access Functions */
|
||||
|
Loading…
Reference in New Issue
Block a user