mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #2738 from leigh-johnson/2727
Fix xss vulnerability in notification template test
This commit is contained in:
commit
faa67b23f9
@ -147,7 +147,7 @@ export default
|
||||
};
|
||||
|
||||
scope.testNotification = function(){
|
||||
var name = this.notification_template.name;
|
||||
var name = $filter('sanitize')(this.notification_template.name);
|
||||
Rest.setUrl(defaultUrl + this.notification_template.id +'/test/');
|
||||
Rest.post({})
|
||||
.then(function (data) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user