We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03a4337 commit e2bf41dCopy full SHA for e2bf41d
arduino-core/src/processing/app/macosx/Platform.java
@@ -119,7 +119,7 @@ public void openURL(String url) throws Exception {
119
120
// for Java 1.6, replacing with java.awt.Desktop.browse()
121
// and java.awt.Desktop.open()
122
- if (url.startsWith("http://")) { // browse to a location
+ if (url.startsWith("http")) { // browse to a location
123
Method browseMethod =
124
desktopClass.getMethod("browse", new Class[] { URI.class });
125
browseMethod.invoke(desktop, new Object[] { new URI(url) });
0 commit comments