New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebSVN's diffs do not work on Windows #210
Comments
Will try to take a look. Using the |
Here is the C code: Did you try to remove the redudant quotes and see what happens? |
I bet that quoting isn't necessary anymore... |
To fix the diffs functionality in my WebSVN installation I already commented out the above line of code. The |
I found when it was changed: ext/standard/proc_open.c. |
Found the same, 8 had a big hit. Will address this issue. |
With PHP 8.0.0-RC2 the command handling has been simplified and improved. Quoting can be removed since it is now handled properly internally. See also php/php-src@9ca449e This fixes #210 and closes #213
With PHP 8.0.0-RC2 the command handling has been simplified and improved. Quoting can be removed since it is now handled properly internally. See also php/php-src@9ca449e This fixes #210 and closes #213
The next code at include\command.php:123:
produces the wrong escaping of cmd.exe on Windows for example:
cmd.exe /s /c """C:\svn\svn" --non-interactive --config-dir C:\svn\config --trust-server-cert cat -r 15 "file:///C:/Repositories/c4u/trunk/include/CoTaskMem.h@16" > "C:\php\tmp\1DDA.tmp"""
i.e. 3 quotation marks at the beginning and end of the command line instead of 2.
This bug effectively turns off the diffs of the revisions.
PHP 8.2.7, WebSVN 2.8.3
The text was updated successfully, but these errors were encountered: