tbrehm
2010-10-22 813a79d6e734f1b46fec6b09c892d19aa1f8dcdc
Fixed: FS#1382 - Doubling of ftp usernames while changing passwords only
1 files modified
4 ■■■■ changed files
interface/web/sites/tools.inc.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/tools.inc.php
@@ -106,9 +106,9 @@
function convertClientName($name){
    /**
     *  only allow 'a'..'z', '_', '-', '0'..'9'
     *  only allow 'a'..'z', '_', '0'..'9'
     */
    $allowed = 'abcdefghijklmnopqrstuvwxyz0123456789_-';
    $allowed = 'abcdefghijklmnopqrstuvwxyz0123456789_';
    $res = '';
    $name = strtolower(trim($name));
    for ($i=0; $i < strlen($name); $i++){