XSS lesson updates
This commit is contained in:
@ -54,7 +54,7 @@ define(['jquery',
|
||||
webgoat.customjs.jquery = $; //passing jquery into custom js scope ... still klunky, but works for now
|
||||
webgoat.customjs.jqueryVuln = $vuln;
|
||||
|
||||
// temporary shim to support dom-xss lesson
|
||||
// temporary shim to support dom-xss assignment
|
||||
webgoat.customjs.phoneHome = function (e) {
|
||||
console.log('phoneHome invoked');
|
||||
console.log(arguments.callee);
|
||||
@ -97,6 +97,11 @@ define(['jquery',
|
||||
this.menuController.updateMenu(name);
|
||||
},
|
||||
|
||||
testRoute: function (param) {
|
||||
this.lessonController.testHandler(param);
|
||||
//this.menuController.updateMenu(name);
|
||||
},
|
||||
|
||||
welcomeRoute: function () {
|
||||
render();
|
||||
this.lessonController.loadWelcome();
|
||||
|
Reference in New Issue
Block a user