Fixed URL handle with com.sun

This commit is contained in:
Giancarlo Panichi 2024-10-28 15:07:57 +01:00
parent 7518881a75
commit e20e6ce3d8
1 changed files with 2 additions and 1 deletions

View File

@ -250,7 +250,8 @@ public class DefaultAuthorizationProxy implements AuthorizationProxy {
StringBuilder callUrl = new StringBuilder(getInternalEnpoint(infrastructureHash)).append(methodPath);
URL url = new URL(callUrl.toString());
URL url = new URL(null, callUrl.toString(), new sun.net.www.protocol.https.Handler());
HttpURLConnection connection = makeRequest(url, "PUT", false);
connection.setDoOutput(true);
connection.setDoInput(true);