Skip to content

Commit e2bf41d

Browse files
author
Federico Fissore
committed
MacOSX: fixed error when clicking on https urls. Fixes #3083
1 parent 03a4337 commit e2bf41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/processing/app/macosx/Platform.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void openURL(String url) throws Exception {
119119

120120
// for Java 1.6, replacing with java.awt.Desktop.browse()
121121
// and java.awt.Desktop.open()
122-
if (url.startsWith("http://")) { // browse to a location
122+
if (url.startsWith("http")) { // browse to a location
123123
Method browseMethod =
124124
desktopClass.getMethod("browse", new Class[] { URI.class });
125125
browseMethod.invoke(desktop, new Object[] { new URI(url) });

0 commit comments

Comments
 (0)