mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Trim white space in PGP armored key #89
This commit is contained in:
parent
c72c2dbaa4
commit
a45cd5904f
1 changed files with 1 additions and 0 deletions
|
|
@ -219,6 +219,7 @@ trait Pgp
|
||||||
|
|
||||||
$result = false;
|
$result = false;
|
||||||
if ($sKey) {
|
if ($sKey) {
|
||||||
|
$sKey = \trim($sKey);
|
||||||
if ($this->GetActionParam('backup', '')) {
|
if ($this->GetActionParam('backup', '')) {
|
||||||
$result = $result || Backup::PGPKey($sKey);
|
$result = $result || Backup::PGPKey($sKey);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue