cadaver icon indicating copy to clipboard operation
cadaver copied to clipboard

URLs with pathnames cause parse error

Open hugeblank opened this issue 2 years ago • 2 comments

Describe the bug I have a webdav server hosted on localhost:4200. When I move the connection point to /webdav cadaver emits the following error: image Trying without the port number (localhost/webdav) still does not work, however trying with no path (localhost:4200) works.

Environment

  • cadaver version: 0.24
  • neon version: 0.32.5
  • OS: Arch
  • SSL library version: 3.1.2-1

To Reproduce cadaver localhost:4200/webdav (no server needed)

hugeblank avatar Sep 01 '23 06:09 hugeblank

That's not a URL, it needs http:// or https:// at the beginning and then it will be accepted. Cadaver does parse some psuedo-URLs which is probably a mistake since they are ambiguous.

notroj avatar Sep 02 '23 07:09 notroj

Yep that was the issue, dang!

The readme could probably benefit with some clarification on what pseudo-urls do and don't work, or perhaps just drop them altogether.

hugeblank avatar Sep 02 '23 07:09 hugeblank