Vulnerable components draft, fixed missing properties in httpbasics when user input was empty

This commit is contained in:
mayhew64
2017-02-07 16:05:30 -05:00
parent 85ef7ee1a4
commit b4159385c1
29 changed files with 15354 additions and 168 deletions

View File

@ -58,7 +58,7 @@ public class HttpBasicsLesson extends AssignmentEndpoint {
.feedbackArgs(new StringBuffer(person).reverse().toString())
.build());
} else {
return trackProgress(failed().feedback("http-basics.close").build());
return trackProgress(failed().feedback("http-basics.empty").build());
}
}
}

View File

@ -10,5 +10,6 @@ http-basics.hints.http_basic_quiz.2=Try to intercept the request with <a href='h
http-basics.reversed=The server has reversed your name: {0}
http-basics.close=Try again: but this time enter a value before hitting go.
http-basics.incorrect=You are close, try again: the HTTP Command is incorrect.
http-basics.magic=You are close, try again: the magic number is incorrect.