Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Move iban character replacements.
James Cole077fe2eb6972
diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.phpindex bfeff87805..49404c9320 100644--- a/app/Validation/FireflyValidator.php+++ b/app/Validation/FireflyValidator.php@@ -169,6 +169,8 @@ class FireflyValidator extends Validator"\u{202F}", // narrow no-break space"\u{3000}", // ideographic space"\u{FEFF}", // zero width no -break space+ '-',+ '?'];$replace = '';$value = str_replace($search, $replace, $value);@@ -176,8 +178,8 @@ class FireflyValidator extends Validator// replace characters outside of ASCI range.$value = iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $value);- $search = [' ', '?', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];- $replace = ['', '', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31',+ $search = [' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];+ $replace = ['', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31','32', '33', '34', '35',];// take