WebDAV plugin: bug in MOVE command

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

WebDAV plugin: bug in MOVE command

Post by *herbert123 »

Hi,

I can connect to various servers using the normal URL notation of http://host:port/bla.
When connecting to a webdav server not running on port 80, (e.g. http://myserver:50000/mywebdav), the MOVE command issued looks like this:

Code: Select all

MOVE /mywebdav/NewFile.txt HTTP/1.1
Destination: http://myserver/mywebdav/asdf.txt

You can see that the Destination header does not reflect the URL used to connect but ommits the port.
According to the webdav spec, the Destination header must contain an absolute URI (http://www.webdav.org/specs/rfc2518.html#HEADER_Destination), therefore the port must be included there as well.

Regards
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report, I will try to reproduce it.
Author of Total Commander
https://www.ghisler.com
Post Reply