0
0
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:
James Yonan 2015-10-24 18:28:04 -06:00
parent c393d3d3ba
commit a6b5e84905

View File

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