Merge branch 'security-stable-2.190' into security-stable-2.204

This commit is contained in:
Daniel Beck committed 2020-07-29 11:09:09 +02:00
commit ef04fbddbd
5 files changed
+81 -3

No files matched your search

+2 -2
View File
@@ -486,12 +486,12 @@ public abstract class Cause {
public String getShortDescription() {
if(note != null) {
try {
return Messages.Cause_RemoteCause_ShortDescriptionWithNote(addr, Jenkins.get().getMarkupFormatter().translate(note));
return Messages.Cause_RemoteCause_ShortDescriptionWithNote(Util.xmlEscape(addr), Jenkins.get().getMarkupFormatter().translate(note));
} catch (IOException x) {
// ignore
}
}
return Messages.Cause_RemoteCause_ShortDescription(addr);
return Messages.Cause_RemoteCause_ShortDescription(Util.xmlEscape(addr));
}
@Exported(visibility = 3)