Merge pull request #19913 from Snuffleupagus/openAction-array-validate

Improve validation in the `Catalog.prototype.openAction` getter
This commit is contained in:
Jonas Jenwald 2025-05-10 14:53:48 +02:00 committed by GitHub
commit 5f4bfe1fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1029,7 +1029,7 @@ class Catalog {
} else if (resultObj.action) {
openAction.action = resultObj.action;
}
} else if (Array.isArray(obj)) {
} else if (isValidExplicitDest(obj)) {
openAction.dest = obj;
}
return shadow(