1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-22 14:50:29 +03:00

Include port number in service base URI of OpenUDS.

This commit is contained in:
Michael Jumper 2016-07-25 03:48:54 -07:00
parent 8bb9bf11d5
commit 7b86ec97eb

View File

@ -148,7 +148,8 @@ public class ConfigurationService {
// Build base URI from only the scheme and host of the given URI
try {
return new URI(uri.getScheme(), uri.getHost(), null, null);
return new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(),
null, null, null);
}
catch (URISyntaxException e) {
throw new GuacamoleServerException("Failed to derive base URI.", e);