GUAC-587: The extension manifest must not be null.
This commit is contained in:
1 parent
f879da6ee5
commit
60b1029653
1 file changed
+2
@@ -226,6 +226,8 @@ public class Extension {
|
||||
|
||||
// Parse manifest
|
||||
manifest = mapper.readValue(extension.getInputStream(manifestEntry), ExtensionManifest.class);
|
||||
if (manifest == null)
|
||||
throw new GuacamoleServerException("Contents of " + MANIFEST_NAME + " must be a valid JSON object.");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user