mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
780af35598
commit
e5d6e2c885
@ -32,7 +32,11 @@ require 'yaml'
|
||||
require 'ldap_auth'
|
||||
require 'uri'
|
||||
|
||||
URI_PARSER=URI::Parser.new
|
||||
if defined?(URI::Parser)
|
||||
URI_PARSER=URI::Parser.new
|
||||
else
|
||||
URI_PARSER=URI
|
||||
end
|
||||
|
||||
user=URI_PARSER.unescape(ARGV[0])
|
||||
pass=URI_PARSER.unescape(ARGV[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user