Vulnerable components draft, fixed missing properties in httpbasics when user input was empty
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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.
|
Reference in New Issue
Block a user