Please sign in to comment.
Fix to bugreport #905 and #893
Regarding #905: When returning an Ajax result, inside a json string value don't use addslashes. You don't want both " and ' escaped at the same time. Instead just use str_replace('"','\"',$Str). Regarding #893: A misplaced dir and file separator ',' lead to malformed json which could result in a non loadable subtree. Fixes #893: webui cannot list dirs with only files in them Fixes #905: Restore WebUI - Enable to browse directory when a file name contain a single quote
- Loading branch information...
Showing with 5 additions and 5 deletions.