- Fix security issues when the map is loaded from the rest service. Two URL has been defined for each type of access.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
);
|
||||
</c:if>
|
||||
<c:if test="${memoryPersistence || readOnlyMode}">
|
||||
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}/document/xml");
|
||||
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}/document/xml${principal!=null?'':'-pub'}");
|
||||
</c:if>
|
||||
|
||||
var userOptions = ${mindmap.properties};
|
||||
|
Reference in New Issue
Block a user