Bartłomiej Maryńczak
517ecb85f5
feat(stdlib): vim.json.encode(...,{escape_slash:boolean}) #30561
...
Problem:
vim.json.encode escapes every slash in string values (for example in
file paths), and is not optional. Use-case is for preventing HTML
injections (eg. injecting `</script>` closing tag); in the context of
Nvim this is rarely useful.
Solution:
- Add a `escape_slash` flag to `vim.json.encode`.
- Defaults to `false`. (This is a "breaking" change, but more like
a bug fix.)
2024-12-06 12:43:41 -08:00
..
2024-12-06 12:43:41 -08:00
2024-06-04 06:06:02 -07:00
2024-11-25 00:05:12 +01:00
2024-10-21 11:32:06 +01:00
2024-09-19 06:34:23 -07:00
2024-12-06 10:09:07 -08:00
2024-10-23 14:13:42 +02:00
2024-12-06 08:36:08 -08:00
2023-12-21 11:47:04 +08:00
2024-11-17 13:31:24 -08:00
2024-09-28 00:31:45 +02:00
2024-12-06 10:19:24 -06:00
2024-11-17 10:21:50 -08:00
2024-03-06 10:45:22 +00:00
2024-12-01 13:58:28 -08:00
2024-10-21 00:54:43 +02:00
2024-10-09 11:31:14 +00:00
2024-12-04 14:44:40 +00:00
2024-10-21 11:32:06 +01:00
2024-12-05 13:59:33 -08:00
2024-01-16 09:33:10 +00:00
2024-12-06 09:40:44 +01:00
2024-11-27 19:56:08 +01:00
2024-03-27 10:39:46 +00:00
2024-10-31 11:55:23 +00:00
2024-09-26 07:45:03 -07:00
2024-10-21 11:32:06 +01:00
2022-08-23 13:02:55 +02:00
2024-09-01 13:01:24 -07:00
2024-10-21 11:32:06 +01:00
2024-12-04 10:17:46 -06:00
2024-12-04 05:14:47 -08:00
2024-02-03 16:53:41 +01:00
2024-01-14 11:08:33 +00:00
2024-10-21 11:32:06 +01:00
2024-11-29 12:40:32 +00:00
2024-07-16 19:30:22 +02:00
2024-10-31 11:55:23 +00:00
2024-11-26 13:56:01 -06:00
2024-10-31 11:55:23 +00:00
2024-10-31 11:55:23 +00:00
2024-02-28 10:50:53 +01:00
2024-10-04 02:13:31 -07:00
2024-09-28 00:31:45 +02:00