diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-03 03:36:20 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-03 03:36:20 -0400 |
| commit | 3ed15565b079680aa3c042cf0b7db0d2508c0838 (patch) | |
| tree | 967b64fcef7d3f80ef8ee6a231a076efd2e88491 | |
| parent | e35467e3b998ea2fd8800dd3722a1e9508b0ce2e (diff) | |
Why is this escaped?
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 6c903663..4ca98dd6 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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) { |
