unescape query arguments during processing

This commit is contained in:
zefie
2021-08-08 14:18:50 -04:00
parent 9f102be02f
commit e5d5b1e8e7
12 changed files with 29 additions and 29 deletions

View File

@@ -9,7 +9,7 @@ if (!request_headers.query.path) {
data = errpage[1];
} else {
var wtvflashrom = new WTVFlashrom(service_vaults, service_name, minisrv_config.services[service_name].use_zefie_server, minisrv_config.services[service_name].debug);
var request_path = unescape(request_headers.query.path);
var request_path = request_headers.query.path;
// read flashrom header info into array using WTVFlashrom class
wtvflashrom.getFlashromMeta(request_path, function (data) {