Browse Source

do not double-encode paste code

pull/14/head
falkTX 2 years ago
parent
commit
3f3a1a9011
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      paste/index.php

+ 1
- 1
paste/index.php View File

@@ -47,7 +47,7 @@ else if (! empty($_POST["paste_text"]))
die("Spam bot detected, get out of here!");
}

$paste_code = htmlspecialchars($_POST["paste_text"]);
$paste_code = $_POST["paste_text"];
$paste_format = htmlspecialchars($_POST["paste_format"]);
$paste_name = htmlspecialchars($_POST["paste_title"]);
$paste_pass = htmlspecialchars($_POST["paste_password"]);


Loading…
Cancel
Save