Cyberduck Mountain Duck CLI

Opened 9 years ago

Closed 8 years ago

#4012 closed enhancement (fixed)

Web URL configuration fails for relative default path

Reported by: matthewlein@… Owned by: dkocher
Priority: normal Milestone: 3.8
Component: core Version: 3.3
Severity: normal Keywords: Open Web URL, Copy URL
Cc: Architecture:
Platform:

Description

I love cyberduck, but one thing always bothers me a bit. Its the Copy URL and Open Web URL. Somtimes I will upload somefile.html and want to see it. So I right click and choose Open Web URL. The problem is that it uses folder Path as part of the URL, not just the root. I think most people have to use www, public_html, html, or some kind of Path in their login, but they would rarely or never want that to be included in the Open Web URL or Copy URL path. Maybe a preference could be created to ignore that Path. Then I would get

matthewlein.com/somefile.html

instead of

matthewlein.com/html/somefile.html

Change History (11)

comment:1 Changed 9 years ago by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed

Set /html as the default path in the bookmark. It will then be removed from the Web URL copied.

comment:2 Changed 9 years ago by dkocher

Last edited 8 years ago by dkocher (previous) (diff)

comment:3 Changed 9 years ago by dkocher

  • Summary changed from Feature request to Web URL configuration

comment:4 follow-up: Changed 8 years ago by danaris

  • Resolution worksforme deleted
  • Status changed from closed to reopened

I can confirm that this does not work as desired.

I have an SFTP bookmark with the default path set to public_html/images/ and the web URL set to http://server.tld/~danaris/images. I connect this bookmark, select one of my files, and copy its HTTP URL, and it comes out as http://server.tld/~danaris/images/home/danaris/public_html/images/image.jpg.

comment:5 in reply to: ↑ 4 Changed 8 years ago by dkocher

  • Milestone set to 4.0

Replying to danaris:

I can confirm that this does not work as desired.

I have an SFTP bookmark with the default path set to public_html/images/ and the web URL set to http://server.tld/~danaris/images. I connect this bookmark, select one of my files, and copy its HTTP URL, and it comes out as http://server.tld/~danaris/images/home/danaris/public_html/images/image.jpg.

Try to set the default path to an absolute value of /public_html/images (prepending /).

comment:6 Changed 8 years ago by dkocher

  • Resolution set to worksforme
  • Status changed from reopened to closed

comment:7 Changed 8 years ago by danaris

  • Resolution worksforme deleted
  • Status changed from closed to reopened

I do not mean to give offense, dkocher, but no, it does not work. There is a workaround, but this is not the same thing at all.

There is no reason why "copy HTTP URL" should break so ridiculously just because I have a relative path set as my default path, rather than an absolute path.

comment:8 Changed 8 years ago by dkocher

  • Milestone changed from 4.0 to 4.1
  • Summary changed from Web URL configuration to Web URL configuration fails for relative default path

comment:9 Changed 8 years ago by dkocher

  • Component changed from interface to core
  • Milestone changed from 4.1 to 4.0

comment:10 Changed 8 years ago by dkocher

Testcase in r7586.

comment:11 Changed 8 years ago by dkocher

  • Resolution set to fixed
  • Status changed from reopened to closed

In r7588.

Note: See TracTickets for help on using tickets.
swiss made software