Skip to content

webdav: parameterize the url #4988

@ANaumann85

Description

@ANaumann85

The cause

The recent urls for webdav access from nextcloud and owncloud contain the username like this:

example.com/owncloud/remote.php/dav/files/USERNAME/path/to/the/content

If one wants to share a repository with such a remote, the user has to change the url, together with the user name and password. Whereas user name and password are clearly local information, the url, or at least the structure, is common for all users.

Proposal

One could introduce common variables in the strings. Hence a webdav url might look like

example.com/owncloud/remote.php/dav/files/${USERNAME}/path/to/the/content

where the dollar sign and the braces denote the variable access.

Questions

  • Is that approach feasible?
  • Which variablenames should be allowed? If we allow too much, it might get a security hazard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responsewe are waiting for your reply, please respond! :)fs: webdavRelated to the Webdav filesystem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions