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

Opening dirs in file viewer should redirect to browser #560

Open
dshoreman opened this issue Jan 8, 2023 · 0 comments
Open

Opening dirs in file viewer should redirect to browser #560

dshoreman opened this issue Jan 8, 2023 · 0 comments
Labels
enhancement New feature or request javascript Pull requests that update Javascript code

Comments

@dshoreman
Copy link
Owner

dshoreman commented Jan 8, 2023

If you pass a directory to the file editor, e.g. /files/edit/?f=%2Ftmp it will attempt to open it as if it were a file.
The result is an "Unsupported filetype directory" error.

Instead, that error should be caught (probably in the vue route handlers) so that it can redirect to the same path without edit/. Likewise, if ?f is an empty string or not set at all, it should redirect to /files.

@dshoreman dshoreman created this issue from a note in File Manager (To do) Jan 8, 2023
@dshoreman dshoreman added enhancement New feature or request javascript Pull requests that update Javascript code labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Pull requests that update Javascript code
Projects
File Manager
  
To do
Development

No branches or pull requests

1 participant