@yuneta/gobj-js 7.26.12 → 7.26.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4443,6 +4443,10 @@ function kw_set_dict_value(gobj, kw, path, value) {
4443
4443
  log_error(`${gobj ? gobj_short_name(gobj) + ": " : ""}kw_set_dict_value(): path empty`);
4444
4444
  return -1;
4445
4445
  }
4446
+ if (path.split("`").includes("")) {
4447
+ log_error(`${gobj ? gobj_short_name(gobj) + ": " : ""}kw_set_dict_value(): empty segment in path: '${path}'`);
4448
+ return -1;
4449
+ }
4446
4450
  let ss = path.split("`");
4447
4451
  let len = ss.length;
4448
4452
  for (let i = 0; i < len; i++) {