From e2bf41ddd9554980ba98d2dd59b5a792f2b28cc1 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Wed, 6 May 2015 09:11:00 +0200 Subject: [PATCH] MacOSX: fixed error when clicking on https urls. Fixes #3083 --- arduino-core/src/processing/app/macosx/Platform.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-core/src/processing/app/macosx/Platform.java b/arduino-core/src/processing/app/macosx/Platform.java index f12ebae0e..7dc206635 100644 --- a/arduino-core/src/processing/app/macosx/Platform.java +++ b/arduino-core/src/processing/app/macosx/Platform.java @@ -119,7 +119,7 @@ public class Platform extends processing.app.Platform { // for Java 1.6, replacing with java.awt.Desktop.browse() // and java.awt.Desktop.open() - if (url.startsWith("http://")) { // browse to a location + if (url.startsWith("http")) { // browse to a location Method browseMethod = desktopClass.getMethod("browse", new Class[] { URI.class }); browseMethod.invoke(desktop, new Object[] { new URI(url) });