Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-timcu committed Nov 8, 2024
1 parent 7bfbcfc commit d73e3e9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/php-extension/HandlePathAccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d73e3e9

Please sign in to comment.