Skip to content

Running bug66338.phpt mangles path when cloning into a directory with '.php' character sequences in the pathname - #24420

Open
hakre wants to merge 1 commit into
php:PHP-8.4from
hakre:patch-2
Open

hakre wants to merge 1 commit into
php:PHP-8.4from
hakre:patch-2

Conversation

@hakre

@hakre hakre commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Stripping the '.php' character sequence as basename suffix only fixed the issue for me.

I compared with the --CLEAN-- section which had recent edits previously. #24381

@hakre

hakre commented Oct 18, 2026

Copy link
Copy Markdown
Contributor Author

bug66338.diff

001- The President of the USA is Barack Hussein Obama II
002- The Prime Minister of the UK is David William Donald Cameron
001+ Warning: file_put_contents(): Failed to open stream: No such file or directory in /.../.php-src/ext/opcache/tests/bug66338.php on line 5
002+ 
003+ Warning: file_put_contents(): Failed to open stream: No such file or directory in /.../.php-src/ext/opcache/tests/bug66338.php on line 9
004+ 
005+ Warning: file_put_contents(): Failed to open stream: No such file or directory in /.../.php-src/ext/opcache/tests/bug66338.php on line 15
006+ 
007+ Warning: file_get_contents(): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
008+  in /.../.php-src/ext/opcache/tests/bug66338.php on line 26
009+ 
010+ Warning: file_get_contents(): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
011+  in /.../.php-src/ext/opcache/tests/bug66338.php on line 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant