mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-10 11:16:48 +01:00
security patch didnt work
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
// Security Check
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
if (strpos($_GET['path'],$_SESSION['project']) != 0) {
|
||||
if (strpos($_GET['path'],$_SESSION['project']) !== 0) {
|
||||
die('{"status":"error","message":"Invalid Path"}');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user