mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-17 16:45:06 +00:00
Escape generated password in mobileconfig
Escape ampersand, less than, greater than to avoid generating invalid XML. Fixes #7171
This commit is contained in:
parent
886dbcc419
commit
ffbc37a00c
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ if (isset($_GET['app_password'])) {
|
|||
$attr['protocols'][] = 'dav_access';
|
||||
}
|
||||
app_passwd("add", $attr);
|
||||
$password = htmlspecialchars($password, ENT_NOQUOTES);
|
||||
} else {
|
||||
$app_password = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue