conn->cwd changes after connect - conn->connectpath is static and should be used instead. Patch to follow.
Created attachment 12600 [details] git-am fix for 4.5.next, 4.4.next Cherry-pick from master for 4.5.next, 4.4.next.
Assigning to Karolin for inclusion in 4.4.next and 4.5.next.
Pushed to autobuild-v4-{5,4}-test.
(In reply to Karolin Seeger from comment #3) Pushed to both branches. Closing out bug report. Thanks!