fixed security bug
This commit is contained in:
parent
7fe89e7c39
commit
0b86af5859
1 changed files with 3 additions and 1 deletions
|
@ -97,7 +97,9 @@ public class PasswordInput extends Composite {
|
|||
SWT.LEFT | SWT.BORDER | (buildPassword ? SWT.PASSWORD : SWT.NONE));
|
||||
final GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true);
|
||||
passwordInput.setLayoutData(gridData);
|
||||
passwordInput.setText(value != null ? value : StringUtils.EMPTY);
|
||||
passwordInput.setText(value != null
|
||||
? Utils.escapeHTML_XML_EcmaScript(value)
|
||||
: StringUtils.EMPTY);
|
||||
if (!buildPassword) {
|
||||
passwordInput.setEditable(false);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue