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