From 7eef26459835880cd8fbec6a40f24ee46559c5c1 Mon Sep 17 00:00:00 2001 From: Bruno Ribas Date: Fri, 20 May 2022 12:54:00 -0300 Subject: temporary salt --- src/globals.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/globals.php b/src/globals.php index 63d4adc..a17b003 100755 --- a/src/globals.php +++ b/src/globals.php @@ -19,7 +19,6 @@ require_once('db.php'); define("dbcompat_1_4_1",true); -$uglysalt="30a2224c82dcf42e497e2a1f6bd6516b"; // sanitization function sanitizeVariables(&$item, $key) @@ -43,6 +42,7 @@ function myrawurldecode($txt) { } function filedownload($oid,$fname,$msg='') { + $uglysalt="30a2224c82dcf42e497e2a1f6bd6516b"; $cf = globalconf(); $if = myrawurlencode(encryptData($fname, $uglysalt . $cf['key'],false)); $p = myhash($oid . $fname . $msg . $uglysalt . $cf["key"]); -- cgit v1.2.3