aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorTyler Miller <tmillr@proton.me>2023-08-01 08:28:28 -0700
committerGitHub <noreply@github.com>2023-08-01 08:28:28 -0700
commit0804034c07ad5883bc653d054e549a87d429a8b7 (patch)
treebd067936c811a26051f15c37986e0ffe5214cef9 /runtime/lua/vim/shared.lua
parentdfe19d6e0047ea2a2a75dff0c57f4c4de1c0196a (diff)
downloadrneovim-0804034c07ad5883bc653d054e549a87d429a8b7.tar.gz
rneovim-0804034c07ad5883bc653d054e549a87d429a8b7.tar.bz2
rneovim-0804034c07ad5883bc653d054e549a87d429a8b7.zip
fix(loader): cache path ambiguity #24491
Problem: cache paths are derived by replacing each reserved/filesystem- path-sensitive char with a `%` char in the original path. With this method, two different files at two different paths (each containing `%` chars) can erroneously resolve to the very same cache path in certain edge-cases. Solution: derive cache paths by url-encoding the original (path) instead using `vim.uri_encode()` with `"rfc2396"`. Increment `Loader.VERSION` to denote this change.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions