Removed check to reject server URL path added in version 4.8.4. The server URL path is required by the Oracle Database service name.
This commit is contained in:
parent
2eba0b5154
commit
951a08c972
|
@ -35,12 +35,6 @@ function validate_server_input() {
|
||||||
auth_error(lang('Invalid server or credentials.'));
|
auth_error(lang('Invalid server or credentials.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allow only host without a path. Note that "localhost" is parsed as path.
|
|
||||||
$host = (isset($parts['host']) ? $parts['host'] : '') . (isset($parts['path']) ? $parts['path'] : '');
|
|
||||||
if (strpos(rtrim($host, '/'), '/') !== false) {
|
|
||||||
auth_error(lang('Invalid server or credentials.'));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check privileged ports.
|
// Check privileged ports.
|
||||||
if (isset($parts['port']) && ($parts['port'] < 1024 || $parts['port'] > 65535)) {
|
if (isset($parts['port']) && ($parts['port'] < 1024 || $parts['port'] > 65535)) {
|
||||||
auth_error(lang('Connecting to privileged ports is not allowed.'));
|
auth_error(lang('Connecting to privileged ports is not allowed.'));
|
||||||
|
|
Loading…
Reference in a new issue