Bareos Bug Tracker
Bareos Bug Tracker

bareos-webui: bareos-17.2 ee232a6f Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent Ported
frank frank bareos-17.2 2018-02-13 18:43:11 bareos-17.2 85483ba7 Pending
Affected Issues 0000893: webui cannot list dirs with only files in them
0000905: Restore WebUI - Enable to browse directory when a file name contain a single quote
Changeset Fix to bugreport 0000905 and 0000893

Regarding 0000905:

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 0000893:

A misplaced dir and file separator ',' lead to malformed json which could result in
a non loadable subtree.

Fixes 0000893: webui cannot list dirs with only files in them
Fixes 0000905: Restore WebUI - Enable to browse directory when a file name contain a single quote
mod - module/Restore/src/Restore/Controller/RestoreController.php Diff ] File ]


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker