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

Error on history.js #12

Open
amazeika opened this issue Aug 4, 2016 · 0 comments
Open

Error on history.js #12

amazeika opened this issue Aug 4, 2016 · 0 comments
Labels
Milestone

Comments

@amazeika
Copy link
Member

amazeika commented Aug 4, 2016

History.js is throwing a JS error under some conditions.

History.unescapeString function keeps decoding URLs on a while block using window.decodeURI. This function throws an error if an invalid %xx URLencoded character is provided. This means that any folder with a %xx substring on it is likely to make it fail.

Steps to reproduce on FILEman:

  1. Go to backend and create a %dabug directory.
  2. Refresh the whole browser page.
  3. Delete the folder.
  4. Create the same folder.

You should get a Uncaught URIError: URI malformed error and the submit box doesn't get closed.

@amazeika amazeika added the bug label Aug 4, 2016
@johanjanssens johanjanssens added this to the 3.0 milestone Aug 4, 2016
@johanjanssens johanjanssens modified the milestones: 3.0, 3.1 May 4, 2018
@johanjanssens johanjanssens modified the milestones: 3.1, Backlog May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants