Join GitHub today
Fix file://c:\some\path\curl.out #2154
Sequel to #1187 (comment)
The issue is essentially the same as in the opening post of #1187 (comment)
PHP uses the backslash format for file:// URL's. This PR aims to include URL's like file://c:\some\path\curl.out as well.
referenced this pull request
Dec 5, 2017
I have read the remark in #1187 (comment) that backslashes in URL's are forbidden by both [RFC1738] and [RFC3986]. Hence, it would be better to fix the issue in PHP. @weltling intends to do that for the actively maintained PHP versions (PHP 7.1 and PHP 7.2), but the fix will not be backported to versions like PHP 5.6 (which will receive security fixes only). If this PR is merged users of PHP 5.6 can also enjoy the enhancements of the latest curl version.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I will be honest, I wasn't sure how to approach the issue of backslashes when I submitted #2110.
I think 3 and 4 above are enough justification for accepting the patch.