🚧 Fixed bug

This commit is contained in:
Andreas Dinauer 2026-03-15 15:56:05 +01:00
parent 4d3a40009b
commit 0bc2a63471

View File

@ -86,7 +86,14 @@ public class ProxyResource
HttpRequest.Builder builder = HttpRequest.newBuilder().method(method.name(), HttpRequest.BodyPublishers.noBody()).uri(URI.create(forwardRoot + "/" + forwardPath)); HttpRequest.Builder builder = HttpRequest.newBuilder().method(method.name(), HttpRequest.BodyPublishers.noBody()).uri(URI.create(forwardRoot + "/" + forwardPath));
for (Map.Entry<String, String> entry : headers.entries()) for (Map.Entry<String, String> entry : headers.entries())
{ {
builder.header(entry.getKey(), entry.getValue()); try
{
builder.header(entry.getKey(), entry.getValue());
}
catch (Exception e)
{
// empty
}
} }
if (auth != null && Strings.CI.equals("OIDC", strategy)) if (auth != null && Strings.CI.equals("OIDC", strategy))
{ {