From d73e3e9ec67fd0eeb8ac6039389758fda54fe5b9 Mon Sep 17 00:00:00 2001 From: Tudor Date: Fri, 8 Nov 2024 13:12:16 +0200 Subject: [PATCH] Fix --- lib/php-extension/HandlePathAccess.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/php-extension/HandlePathAccess.cpp b/lib/php-extension/HandlePathAccess.cpp index d838de19..aec8166f 100644 --- a/lib/php-extension/HandlePathAccess.cpp +++ b/lib/php-extension/HandlePathAccess.cpp @@ -20,11 +20,6 @@ void helper_handle_pre_file_path_access(char *filename, EVENT_ID &eventId) { /* Helper for handle post file path access */ void helper_handle_post_file_path_access(EVENT_ID &eventId) { - if (strncmp(filename, "php://", 6) == 0) { - // Whitelist php:// streams as they are often used by PHP frameworks a lot - return; - } - if (!eventCache.outgoingRequestUrl.empty()) { // If the pre handler for path access determined this was actually an URL, // we need to notify that the request finished.