mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
urlparse.hpp : if URI is empty, set to "/".
This commit is contained in:
parent
c393d3d3ba
commit
a6b5e84905
@ -134,9 +134,11 @@ namespace openvpn {
|
||||
break;
|
||||
}
|
||||
}
|
||||
validate();
|
||||
if (set_default_port)
|
||||
default_port();
|
||||
if (uri.empty())
|
||||
uri = "/";
|
||||
validate();
|
||||
}
|
||||
|
||||
// Note that special address types such as unix domain
|
||||
|
Loading…
Reference in New Issue
Block a user