diff --git a/doc/upstream.md b/doc/upstream.md index 7fdb383..71a7b9c 100644 --- a/doc/upstream.md +++ b/doc/upstream.md @@ -90,7 +90,7 @@ issues against this fork. | [#486](https://github.com/stevearc/oil.nvim/issues/486) | Directory sizes show misleading 4.1k | fixed ([#87](https://github.com/barrettruth/canola.nvim/pull/87)) | | [#492](https://github.com/stevearc/oil.nvim/issues/492) | j/k remapping question | not actionable — answered | | [#507](https://github.com/stevearc/oil.nvim/issues/507) | lacasitos.nvim conflict | not actionable — cross-plugin + Windows-only | -| [#521](https://github.com/stevearc/oil.nvim/issues/521) | oil-ssh connection issues | open | +| [#521](https://github.com/stevearc/oil.nvim/issues/521) | oil-ssh connection issues | fixed ([#178](https://github.com/barrettruth/canola.nvim/pull/178)) | | [#525](https://github.com/stevearc/oil.nvim/issues/525) | SSH adapter documentation | fixed — expanded `:help oil-adapter-ssh` ([#138](https://github.com/barrettruth/canola.nvim/pull/138)) | | [#531](https://github.com/stevearc/oil.nvim/issues/531) | Incomplete drive letters | not actionable — Windows-only | | [#533](https://github.com/stevearc/oil.nvim/issues/533) | `constrain_cursor` bug | not actionable — needs repro | diff --git a/lua/oil/adapters/ssh.lua b/lua/oil/adapters/ssh.lua index a87855b..7d9b8e7 100644 --- a/lua/oil/adapters/ssh.lua +++ b/lua/oil/adapters/ssh.lua @@ -97,7 +97,7 @@ local function url_to_scp(url) table.insert(pieces, string.format(':%d', url.port)) end table.insert(pieces, '/') - local escaped_path = util.url_escape(url.path) + local escaped_path = util.url_escape(url.path):gsub('%%2F', '/') table.insert(pieces, escaped_path) return table.concat(pieces, '') end