Project

General

Profile

Actions

Bug #1793

closed

WebDAV MOVE doesn’t work when Destination contains login information

Added by Anonymous about 16 years ago. Updated about 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_webdav
Target version:
ASK QUESTIONS IN Forums:

Description

The Destination field of a WebDAV MOVE request isn’t limited to the format suggested in mod_webdav.c. It can also contain login information, for example,

https://user:password@domain.tld/path?query

Mod_webdav.c doesn’t care to look for any login information, however, and thus the “same domain” test can fail, even though the actual domain is the same. The patch is simple: Simply look for an ‘@’ in the part that we’re considering to be the the domain. If we find it, start the domain right after it.

-- now


Files

mod_webdav.c.login.patch (598 Bytes) mod_webdav.c.login.patch Patch to skip login information for domain part of Destination field -- now Anonymous, 2008-10-08 12:24
Actions #1

Updated by icy almost 16 years ago

  • Target version changed from 1.4.21 to 1.4.22
  • Patch available set to No
Actions #2

Updated by stbuehler over 15 years ago

  • Target version changed from 1.4.22 to 1.4.23
Actions #3

Updated by stbuehler over 15 years ago

  • Target version changed from 1.4.23 to 1.4.24
Actions #4

Updated by stbuehler about 15 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2629.

Actions #5

Updated by stbuehler about 15 years ago

  • Missing in 1.5.x set to No
Actions

Also available in: Atom