🚧 Fixed bug
This commit is contained in:
parent
4d3a40009b
commit
0bc2a63471
@ -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))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user