Skip to content

Commit

Permalink
Removes authorization forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Jun 15, 2022
1 parent 6765ead commit 409d669
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/com/mxgraph/online/ProxyServlet.java
Expand Up @@ -85,12 +85,6 @@ protected void doGet(HttpServletRequest request,
// Workaround for 451 response from Iconfinder CDN
connection.setRequestProperty("User-Agent", "draw.io");

//Forward auth header
if (auth != null)
{
connection.setRequestProperty("Authorization", auth);
}

if (dom != null && dom.length() > 0)
{
response.addHeader("Access-Control-Allow-Origin", dom);
Expand Down

0 comments on commit 409d669

Please sign in to comment.