[FIX] security problem in im
bzr revid: nicolas.vanhoren@openerp.com-20130911163452-jumg8wahlzof4a6l
This commit is contained in:
@@ -522,7 +522,7 @@ function declare($, _, openerp) {
|
||||
var url = _.escape(result[0]);
|
||||
txt += '<a href="' + url + '">' + url + '</a>';
|
||||
}
|
||||
txt += str.slice(last, str.length);
|
||||
txt += _.escape(str.slice(last, str.length));
|
||||
return txt;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user