mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 10:36:21 +00:00
Merge branch 'security-stable-2.190' into security-stable-2.204
This commit is contained in:
commit
ef04fbddbd
5 files changed
+81
-3
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user