diff --git a/NodeApp/src/commander/assignment/subcommands/AssignmentCreateCommand.ts b/NodeApp/src/commander/assignment/subcommands/AssignmentCreateCommand.ts index 51242423158dea1245f1192589176ae3a90d8823..1bff535cc92cf37eec53fe663314d78e3396a1fa 100644 --- a/NodeApp/src/commander/assignment/subcommands/AssignmentCreateCommand.ts +++ b/NodeApp/src/commander/assignment/subcommands/AssignmentCreateCommand.ts @@ -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(); } }