mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
WebUI: iterate over own properties only
This commit is contained in:
@@ -199,6 +199,8 @@ window.qBittorrent.MultiRename = (function() {
|
||||
}
|
||||
// Replace named groups
|
||||
for (const namedGroup in match.groups) {
|
||||
if (!Object.hasOwn(match.groups, namedGroup))
|
||||
continue;
|
||||
replacement = replaceGroup(replacement, `$${namedGroup}`, match.groups[namedGroup], "\\", false);
|
||||
}
|
||||
// Replace auxiliary variables
|
||||
|
||||
Reference in New Issue
Block a user