Skip to content

Commit 1a73072

Browse files
committed
Don't allow custom periods for surveys
1 parent 39c78b4 commit 1a73072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/wise/portal/presentation/web/controllers/survey/SurveyAPIController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void launchSurveyRun(@PathVariable String code, HttpServletResponse respo
6363
DuplicateUsernameException, ObjectNotFoundException, PeriodNotFoundException,
6464
StudentUserAlreadyAssociatedWithRunException, RunHasEndedException {
6565

66-
Projectcode projectCode = new Projectcode(code.replaceAll("\\+\\+", " "));
66+
Projectcode projectCode = new Projectcode(code);
6767
Run run = runService.retrieveRunByRuncode(projectCode.getRuncode());
6868
if (run.getIsSurvey()) {
6969
handleSurveyLaunched(response, request, run, projectCode);

0 commit comments

Comments
 (0)