1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Revert "Allow user passwords with ':' characters"

This reverts commit fcb98539ce99109c4af3527415abb680cdb3556b.
This commit is contained in:
Carlos Martín 2011-09-28 12:40:40 +02:00
parent cce3ca6935
commit 37618ecf45
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 */