/CHANGELOG |
---|
30,6 → 30,7 |
- Fix detection of popups blocking in Safari. |
- Get number of open session from the whole history instead of just the last 3 sessions in the status page. |
- Remove disallowed characters of login when importing users from a text file. |
- Fix ticket generation of users with accented username. |
SECU |
- Enhances passwords security generated during installation (length: 8 -> 16). |
/web/acc/manager/htdocs/ticket_user.php |
---|
38,5 → 38,7 |
// Save the PDF and redirect user to it |
$filename = 'ticket_' . $log_imp . '.pdf'; |
// Remove accents |
$filename = strtr(utf8_decode($filename), utf8_decode('ŠŒŽšœžŸ¥µÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿ'), 'SOZsozYYuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyy'); // TODO : manage all UTF-8 chars |
$ticketsGenerator->saveAs($filename); |
header('Location: ' . $filename); |