mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUAC-587: The extension manifest must not be null.
This commit is contained in:
@@ -226,6 +226,8 @@ public class Extension {
|
|||||||
|
|
||||||
// Parse manifest
|
// Parse manifest
|
||||||
manifest = mapper.readValue(extension.getInputStream(manifestEntry), ExtensionManifest.class);
|
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