1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

Why is this escaped?

This commit is contained in:
Michael Foster 2013-08-03 03:36:20 -04:00
parent e35467e3b9
commit 3ed15565b0

View File

@ -1769,7 +1769,7 @@ function generate_tripcode($name) {
// generate salt
$salt = substr($trip . 'H..', 1, 2);
$salt = preg_replace('/[^\.-z]/', '.', $salt);
$salt = preg_replace('/[^.-z]/', '.', $salt);
$salt = strtr($salt, ':;<=>?@[\]^_`', 'ABCDEFGabcdef');
if ($secure) {