Skip to content

Image preview and drive redirect lose the folder when its name contains # #4160

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Two places rebuild the current route from its decoded params, so a # in a folder name gets lost and the view lands in a sibling folder, the same root cause as #4143: the image preview (web-app-preview/src/App.vue) and DriveRedirect.vue both spread the route with path: route.fullPath.

Reproduction Steps

  1. Have sibling folders Doc and Doc#A, with images in Doc#A
  2. Open an image in Doc#A in the preview and switch to the next image

Expected Outcome

The preview stays in Doc#A.

Actual Outcome

The URL loses everything after #, so the context switches to Doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions