mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 12:16:57 +00:00
issue #49: link with status 0.0 now removes the whole line and add fixes with issues for php8.4
This commit is contained in:
parent
13d39dc5c2
commit
46bd00a05a
3 changed files with 17 additions and 11 deletions
|
@ -10,7 +10,7 @@ if (($handle = fopen($csvfile, "r")) !== FALSE) {
|
|||
|
||||
|
||||
$oldcatname="";
|
||||
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
|
||||
while (($data = fgetcsv($handle, 1000, ",",'"','\\')) !== FALSE) {
|
||||
$data[0]=preg_replace("/[^a-zA-Z0-9:\/.\ -✔️❌]/", "", $data[0]);
|
||||
// PREVENT ALL MALICIOUS PHP PAYLOADS FROM BEING EXECUTED FROM CSV FILES!
|
||||
$data[0] = htmlspecialchars($data[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue