Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Exclude more invalid chars from files UI path
Prevent newlines and zero byte chars to be used in files UI URL and redirect to root if one is detected. Added additional hardening in case the request fails with 400 or the XMLHttpRequest throw a DOMException, both can happen with invalid paths as well.
- Loading branch information
Vincent Petry
committed
Oct 25, 2016
1 parent
942ca72
commit e7acbce
Showing
2 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters