mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 20:45:20 +00:00
[SECURITY-266] Conceal ciphertext from REST config.xml.
This commit is contained in:
1 parent
82b4235979
commit
e8f6410793
5 files changed
+65
-7
No files matched your search
@@ -1720,7 +1720,7 @@ public class Functions {
|
||||
if (req != null) {
|
||||
Item item = req.findAncestorObject(Item.class);
|
||||
if (item != null && !item.hasPermission(Item.CONFIGURE)) {
|
||||
return "<some secret>";
|
||||
return "(some secret)";
|
||||
}
|
||||
}
|
||||
return ((Secret) o).getEncryptedValue();
|
||||
|
||||
Reference in new issue
Block a user