aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/net.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-04-10 12:28:07 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-04-10 12:30:38 +0800
commitec8d3521177b8f75a1ffd92cd7c915a74aa18c87 (patch)
tree35d37de9eafd765971bf4ee3526abc999ef74b6c /runtime/lua/vim/net.lua
parentdc3b49d5a1327a48a23b5b29101fe0adbda466b4 (diff)
downloadrneovim-ec8d3521177b8f75a1ffd92cd7c915a74aa18c87.tar.gz
rneovim-ec8d3521177b8f75a1ffd92cd7c915a74aa18c87.tar.bz2
rneovim-ec8d3521177b8f75a1ffd92cd7c915a74aa18c87.zip
vim-patch:9.2.0326: runtime(tar): but with dotted path
Problem: runtime(tar): but with dotted path Solution: Do not strip everything after the first dot (Aaron Burrow) tar#Extract was getting the extensionless basename by stripping away everything starting with the leftmost dot. So if a directory had a dot or the file had an 'extra' dot then the code did the wrong thing. For example, if it was given: /tmp/foo.bar/baz.tar.gz Then it would treat /tmp/foo as the extensionless basename, but it actually should have grabbed: /tmp/foo.bar/baz This patch fixes the issue by instead looking at the rightmost dot(s). This bug was discovered by ChatGPT 5.4. I wrote the patch and tested vim. closes: vim/vim#19930 https://github.com/vim/vim/commit/4a1bcc67b4b6fc2dfe564ab4faca490f8afac857 Co-authored-by: Aaron Burrow <burrows@fastmail.com>
Diffstat (limited to 'runtime/lua/vim/net.lua')
0 files changed, 0 insertions, 0 deletions