mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 15:32:24 +00:00
Don't allow cross-app delta requests
Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
6270adf6e8
commit
4a74dffea9
@ -774,9 +774,6 @@ module.exports = class ApplicationManager extends EventEmitter
|
||||
for availableImage in available
|
||||
if availableImage.serviceName == image.serviceName and availableImage.appId == image.appId
|
||||
return availableImage.name
|
||||
for availableImage in available
|
||||
if availableImage.serviceName == image.serviceName
|
||||
return availableImage.name
|
||||
for availableImage in available
|
||||
if availableImage.appId == image.appId
|
||||
return availableImage.name
|
||||
|
Loading…
Reference in New Issue
Block a user