Skip to content

Commit

Permalink
Merge pull request #2967 from mgotz/file_url_action
Browse files Browse the repository at this point in the history
handle file-url in open display action
  • Loading branch information
shroffk authored Mar 12, 2024
2 parents d9da0b2 + a777e8e commit 67ec1f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public static InputStream openResourceStream(final String resource_name) throws
// final long milli = Math.round(1000 + Math.random()*4000);
// Thread.sleep(milli);
// }
if (resource_name.startsWith("http"))
if (resource_name.startsWith("http") || resource_name.startsWith("file:/"))
return openURL(resource_name);

// Handle legacy RCP URL
Expand Down

0 comments on commit 67ec1f7

Please sign in to comment.