Skip to content

Commit

Permalink
7.6.3 release
Browse files Browse the repository at this point in the history
Former-commit-id: 658ef54
  • Loading branch information
alderg committed Oct 26, 2017
1 parent 525f665 commit efa7076
Show file tree
Hide file tree
Showing 15 changed files with 2,769 additions and 2,684 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
26-OCT-2017: 7.6.3

- Adds current style to CSV and text
- Uses mxGraph 3.7.6 beta 7

25-OCT-2017: 7.6.2

- Adds optional arguments for subclassers
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.6.2
7.6.3
4 changes: 2 additions & 2 deletions etc/mxgraph/mxClient.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions src/com/mxgraph/online/ProxyServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,26 @@ protected void doGet(HttpServletRequest request,
response.setHeader("Cache-control", "private, no-cache, no-store");
response.setHeader("Expires", "0");

// build the UML source from the compressed request parameter
String ref = request.getHeader("referer");
String dom = null;

if (ref != null && ref.toLowerCase()
.matches("https?://([a-z0-9,-]+[.])*draw[.]io/.*"))
{
dom = ref.toLowerCase().substring(0, ref.indexOf(".draw.io/") + 8);
}
else if (ref != null && ref.toLowerCase()
.matches("https?://([a-z0-9,-]+[.])*quipelements[.]com/.*"))
{
dom = ref.toLowerCase().substring(0, ref.indexOf(".quipelements.com/") + 17);
}

if (dom != null)
{
response.addHeader("Access-Control-Allow-Origin", dom);
}

// Status code pass-through
if (connection instanceof HttpURLConnection)
{
Expand Down
2 changes: 1 addition & 1 deletion war/cache.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CACHE MANIFEST

# THIS FILE WAS GENERATED. DO NOT MODIFY!
# 10/25/2017 04:23 PM
# 10/26/2017 11:09 AM

app.html
index.html?offline=1
Expand Down
Loading

0 comments on commit efa7076

Please sign in to comment.