owncloud / owncloud/android

[BUG] some operations do not work fine with server redirection 302

Open
#2,930 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:bug
Dominant language
Kotlin
Stars
4.2k
Forks
3.1k
Avg merge
1d 12h
Merged PRs (30d)
7

Description

With 302 server redirection:

  • Rename, Copy, Move: Returns the following error message: Requested uri (/remote.php/dav/files/admin/test/) is out of base uri (/stable10/remote.php/dav/) .

  • Shares: it is posible to create/edit shares from the app. But, shares created in the web or in other clients are not correctly retrieved and displayed. It is returned 404 with Wrong path, file/folder doesn't exist

  • Upload from camera: taking a picture from the FAB button option, causes an Unknown error in Uploads view. PUT operation returns a 301 that is not being resolved.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the 302/301 flows for Rename, Copy, Move, Shares, and camera upload, then trace how the Android app handles server redirects and DAV paths. Done means these operations complete successfully after redirection, and shares created elsewhere are retrieved and displayed correctly without path or unknown-error failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.