Please sign in to comment.
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...
Showing with 34 additions and 8 deletions.