Skip to content

Commit

Permalink
should be safe?
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaoVA committed Nov 2, 2023
1 parent 3cd15de commit 2345899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LEAF_Request_Portal/sources/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -3424,7 +3424,7 @@ public function query(string $inQuery): mixed

if(isset($_GET['debugQuery'])) {
if($this->login->checkGroup(1)) {
$debugQuery = str_replace(["\r", "\n","\t", "%0d","%0a","%09","%20", ":", ";", "="], ' ', 'SELECT * FROM records ' . $joins . 'WHERE ' . $conditions . $sort . $limit);
$debugQuery = str_replace(["\r", "\n","\t", "%0d","%0a","%09","%20", ";"], ' ', 'SELECT * FROM records ' . $joins . 'WHERE ' . $conditions . $sort . $limit);
$debugVars = [];
foreach($vars as $key => $value) {
if(strpos($key, ':data') !== false
Expand Down

0 comments on commit 2345899

Please sign in to comment.