glepnir
20e98ff1cc
patch 9.2.0418: wildcards in expanded env vars reinterpreted by glob
...
Problem: With $d='[dir]', `:e $d/file.txt` opens the wrong file,
`:e $d/<Tab>` fails to complete, and `glob('$d/*')` returns
nothing. Wildcard characters inside expanded environment
variables get picked up by globbing again.
Solution: Turn the 4th parameter of expand_env_esc() from a bool into a
string of characters to escape in each expanded value. Callers
that pass the result to wildcard expansion should include
PATH_ESC_WILDCARDS in addition to " \t" (glepnir).
closes : #20053
Signed-off-by: glepnir <glephunter@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-04-29 19:10:43 +00:00
..
2025-03-24 20:36:14 +01:00
2025-08-23 06:18:34 -04:00
2026-04-09 21:15:30 +00:00
2025-02-23 09:09:59 +01:00
2026-04-14 16:37:25 +00:00
2026-04-03 09:48:49 +00:00
2025-12-18 21:47:34 +01:00
2026-04-29 18:35:55 +00:00
2025-08-23 06:18:34 -04:00
2025-08-29 17:56:20 +02:00
2025-09-26 17:00:10 +00:00
2025-12-13 18:23:54 +01:00
2025-03-18 20:49:01 +01:00
2025-09-21 17:52:42 +00:00
2025-12-11 21:13:35 +01:00
2025-08-27 21:15:47 +02:00
2025-06-23 21:42:36 +02:00
2026-01-19 18:15:51 +00:00
2025-01-09 22:14:34 +01:00
2025-08-14 21:00:51 +02:00
2026-04-03 15:14:24 +00:00
2025-02-18 20:45:48 +01:00
2025-08-12 22:22:52 +02:00
2025-03-26 18:46:21 +01:00
2026-02-16 22:20:50 +00:00
2025-03-24 20:36:14 +01:00
2025-10-09 19:17:49 +00:00
2025-11-10 20:04:37 +00:00
2025-12-21 19:33:53 +00:00
2026-04-07 19:51:20 +00:00
2025-10-09 19:59:48 +00:00
2025-10-09 19:17:49 +00:00
2025-10-09 19:17:49 +00:00
2025-08-20 22:08:13 +02:00
2025-08-20 22:08:13 +02:00
2025-08-31 18:52:32 +02:00
2024-10-22 22:59:39 +02:00
2025-11-27 21:28:05 +00:00
2025-01-12 09:58:00 +01:00
2025-03-23 16:42:16 +01:00
2025-02-10 21:12:19 +01:00
2025-03-24 20:36:14 +01:00
2025-03-24 20:36:14 +01:00
2025-11-25 22:04:58 +00:00
2026-04-29 19:10:43 +00:00
2025-06-05 21:09:24 +02:00
2025-10-28 19:03:22 +00:00
2025-03-24 20:36:14 +01:00
2025-12-26 15:04:24 +00:00
2026-04-15 19:17:13 +00:00
2026-04-07 19:51:20 +00:00
2025-10-08 16:23:22 +00:00
2025-10-09 19:17:49 +00:00
2025-10-08 16:23:22 +00:00
2025-10-08 16:23:22 +00:00
2026-03-25 22:04:13 +00:00
2026-03-25 22:04:13 +00:00
2026-04-07 19:51:20 +00:00
2026-04-10 17:43:59 +00:00
2025-04-07 21:19:07 +02:00
2026-04-14 18:42:38 +00:00
2025-01-02 18:06:00 +01:00
2026-04-20 16:08:47 +00:00
2025-08-20 22:08:13 +02:00
2024-10-14 20:21:48 +02:00
2025-08-23 06:26:16 -04:00
2026-04-28 20:31:34 +00:00
2025-03-24 20:36:14 +01:00
2026-04-22 20:29:08 +00:00
2026-03-16 21:47:36 +00:00
2025-03-23 16:42:16 +01:00
2026-04-07 20:46:10 +00:00
2025-08-31 19:43:23 +02:00
2025-08-24 13:09:04 +02:00
2025-09-25 19:21:16 +00:00
2025-03-24 20:36:14 +01:00
2025-08-14 21:00:51 +02:00
2025-07-21 21:36:08 +02:00
2026-01-10 18:14:13 +00:00
2025-03-18 22:14:34 +01:00
2026-01-06 10:13:02 +00:00
2025-10-27 18:07:52 +00:00
2025-08-14 21:00:51 +02:00
2026-01-06 10:13:02 +00:00
2025-07-21 21:36:08 +02:00
2026-04-20 18:24:17 +00:00
2026-03-12 18:49:38 +00:00