Skip to content
Snippets Groups Projects
Commit bc700eb0 authored by michael.minelli's avatar michael.minelli
Browse files

AssignmentCreate => Fix bug with double uri encoding

parent 78794fce
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ class AssignmentCreateCommand extends CommanderCommand { ...@@ -56,7 +56,7 @@ class AssignmentCreateCommand extends CommanderCommand {
this.templateIdOrNamespace = Toolbox.urlToPath(this.templateIdOrNamespace); this.templateIdOrNamespace = Toolbox.urlToPath(this.templateIdOrNamespace);
} }
if ( !await DojoBackendManager.checkTemplateAccess(encodeURIComponent(this.templateIdOrNamespace)) ) { if ( !await DojoBackendManager.checkTemplateAccess(this.templateIdOrNamespace) ) {
throw new Error(); throw new Error();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment