diff options
author | Ivan Zhakov <ivan@apache.org> | 2019-10-15 10:59:58 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2019-10-15 10:59:58 +0000 |
commit | 51b539596a9676ccc9b392b5b35c7a60174b1844 (patch) | |
tree | 0e941ca85ba6e9986fffdc8a51daec6d1e5e1eac /CHANGES | |
parent | cd40cc64f1d526f6c1659dd5777a36fd58031597 (diff) | |
download | apr-51b539596a9676ccc9b392b5b35c7a60174b1844.tar.gz |
apr_proc_create(): Properly escape arguments containing whitespace characters
on Windows.
* CMakeLists.txt
(single_source_programs): Add test/echoargs.c.
* test/echoargs.c: New test app for test_proc_args test.
* test/testproc.c
(test_proc_args): New test.
(testproc): Add test_proc_args to test list.
* threadproc/win32/proc.c
(quote_arg): New. Helper for apr_proc_create().
(apr_proc_create): Use quote_arg() helper to escape arguments in command
line.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1868477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -228,6 +228,9 @@ Changes for APR 2.0.0 *) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov] + *) apr_proc_create(): Properly escape arguments containing whitespace + characters on Windows [Ivan Zhakov] + Changes for APR and APR-util 1.6.x and later: *) http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/CHANGES?view=markup |