| Summary: | remote open/save cannot edit SSH service | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Justin L <jluth> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jluth |
| Priority: | medium | Keywords: | bibisected, bisected |
| Version: | 5.2.0.4 release | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=138071 https://bugs.documentfoundation.org/show_bug.cgi?id=145197 |
||
| Whiteboard: | target:7.3.0 target:7.2.3 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | Add-Edit SSH service.jpg: screenshots comparing add/edit - completely bogus. | ||
|
Description
Justin L
2021-10-18 05:46:48 UTC
The problem is that bool HostDetailsContainer::setUrl cannot verifyScheme of INetProtocol::Generic, so the form is just initialized with random junk. URI format ssh:[username[:password]@]host[:port][?options], so: m_bAuthority = true; //has username || host || port m_bUser = true; m_bAuth = false; //doesn't seem likely to support auth= m_bPassword = true; m_bHost = true; m_bPort = true; m_bHierarchical = false; //can specify a path m_bQuery = true; //the ?options is a query portion proposed fix at http://gerrit.libreoffice.org/c/core/+/123733 Fixed in LO 7.3 by author Caolán McNamara on 2021-10-18 11:07:30 +0200 commit 5acba60cbd97f2f181037cbd3ab049e7ebff5332 Related: tdf#145169 use "sftp" because that's a known Protocol This fixes any NEW services. The old ssh:// service still acts the same as previously. Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7bed55bc0b4ebb26fa8de5e3e38716d2febd0eb7 related tdf#145190 gio_mount: show username when requesting password It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |