From ecedf8cd2498dd38a96aa2fee249e5cf2a5917ac Mon Sep 17 00:00:00 2001 From: Phu Tu Date: Wed, 5 Jul 2023 11:18:09 +0200 Subject: [PATCH] Add permissions needed when fetching external content --- resources/.java.policy_move_to_home_dir | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/.java.policy_move_to_home_dir b/resources/.java.policy_move_to_home_dir index dbad43e..eaa36ea 100644 --- a/resources/.java.policy_move_to_home_dir +++ b/resources/.java.policy_move_to_home_dir @@ -78,6 +78,10 @@ grant { permission java.net.SocketPermission "localhost:1024-", "accept, listen, resolve"; permission java.net.SocketPermission "*", "accept, connect, resolve"; + + permission java.net.URLPermission "*", "GET:Accept"; + + permission java.net.NetPermission "getProxySelector"; };