summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/blowfish.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/blowfish.php b/inc/blowfish.php
index 656bbe8f1..b81991b25 100644
--- a/inc/blowfish.php
+++ b/inc/blowfish.php
@@ -516,7 +516,7 @@ function PMA_blowfish_decrypt($encdata, $secret)
foreach (str_split($data, 8) as $chunk) {
$decrypt .= $pma_cipher->decryptBlock($chunk, $secret);
}
- return trim($decrypt);
+ return trim($decrypt,"\0"); // triming fixed for DokuWiki FS#1690
}
?>