Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: redirect to proper directory if file not found #40515

Merged
merged 1 commit into from Oct 4, 2023

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Sep 19, 2023

Fix #32177
Fix #40104

  1. If you ask for a fileid in a dir
  2. And the fileid doesn't exists in that directory
  3. BUT the file only exists in one occurrence in another directory
  4. Then redirect to that file

@skjnldsv skjnldsv added this to the Nextcloud 28 milestone Sep 19, 2023
@skjnldsv skjnldsv requested a review from a team September 19, 2023 19:01
@skjnldsv skjnldsv self-assigned this Sep 19, 2023
@skjnldsv skjnldsv requested review from ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team September 19, 2023 19:01
apps/files/lib/Controller/ViewController.php Dismissed Show dismissed Hide dismissed
apps/files/lib/Controller/ViewController.php Fixed Show resolved Hide resolved
@skjnldsv
Copy link
Member Author

skjnldsv commented Oct 4, 2023

Ping everyone! 🙏

apps/files/lib/Controller/ViewController.php Outdated Show resolved Hide resolved
apps/files/lib/Controller/ViewController.php Fixed Show resolved Hide resolved
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv merged commit ff9be6b into master Oct 4, 2023
38 of 39 checks passed
Files to vue automation moved this from In progress to Done Oct 4, 2023
@skjnldsv skjnldsv deleted the fix/redirect-if-wrong-dir branch October 4, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Files to vue
  
Done
Development

Successfully merging this pull request may close these issues.

[Bug]: url share not working [Bug]: internal links don't seem to get resolved properly
4 participants