Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jgraph/drawio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benson <david@draw.io>2022-06-15 13:55:30 +0300
committerGitHub <noreply@github.com>2022-06-15 13:55:30 +0300
commit409d669eb1b41a10ecb05f72bf3f2b6ee0afcef2 (patch)
tree3d7467b39be1f807785d3a308445e3ea95544ddb
parent6765eadf11eae8eb5c07708577071f801316658c (diff)
Removes authorization forwarding
-rw-r--r--src/main/java/com/mxgraph/online/ProxyServlet.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/com/mxgraph/online/ProxyServlet.java b/src/main/java/com/mxgraph/online/ProxyServlet.java
index bb649706..5b5f2d69 100644
--- a/src/main/java/com/mxgraph/online/ProxyServlet.java
+++ b/src/main/java/com/mxgraph/online/ProxyServlet.java
@@ -85,12 +85,6 @@ public class ProxyServlet extends HttpServlet
// 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);