mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fix save on Opera.
This commit is contained in:
parent
9cabfb14a5
commit
bf3bd5c1c7
@ -29,6 +29,4 @@ Template Path: /service/admin/users/{userId}/password
|
||||
Creating a new user:
|
||||
* Template Path: /service/admin/users/
|
||||
* Method: Post
|
||||
* curl "http://{host.name}:{host.port}/{context.path}/service/admin/users/" --request post --basic -u "admin@wisemapping.org:admin" -H "Content-Type:text/json" --data "{email:"some email", lastname:"last name",fistname="my first name",password:"password"}"
|
||||
|
||||
|
||||
* curl "http://{host.name}:{host.port}/{context.path}/service/admin/users" --request post --basic -u "admin@wisemapping.org:admin" -H "Content-Type:application/json" --data '{"email": "te2@mydomain.de", "lastname": "lastname", "firstname":"myfirstname","password":"password"}'
|
||||
|
@ -112,7 +112,7 @@ public class MindmapServiceImpl
|
||||
throw new WiseMappingException("Could not be decoded.",e);
|
||||
}
|
||||
|
||||
if (!xml.startsWith("<map") || !xml.endsWith("</map>")) {
|
||||
if (!xml.endsWith("</map>")) {
|
||||
throw new WiseMappingException("Map seems not to be a valid mindmap: '"+xml +"'");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user