Problem with URL::launchInDefaultBrowser()

Hi Julian,
If i send a link which has “https”(secure connection) and try to launch it in the default browser using “URL::launchInDefaultBrowser()”, it doesn’t launch browser. This problem occurs only on a Mac there are no such issue in pc.
This problem persists in both juce_1.39 and juce_1.45. I haven’t looked into your source code yet.

My default browser is Frefox version 3.0.4.
Regards,
vishvesh

Hi,
Sorry for the false alarm, actually both my projects where linking to juce_1.39 and it’s fixed on juce_1.45.

 To launch https links on juce_1.39 all i had to do was to use http for secure connection and the browser will handle the rest.

regards,
vishvesh

Seems the Cocoa-variant is broken, a collegue gets the following in the error log:
LSOpenFromURLSpec() returned -43 for application (null) path

[quote=“robiwan”]Seems the Cocoa-variant is broken, a collegue gets the following in the error log:
LSOpenFromURLSpec() returned -43 for application (null) path[/quote]

But I don’t think the new code uses LSOpenFromURLSpec any more…?

Hi Jules, I’m the one having the problem.
In juce_mac_Files.mm, juce_launchFile() the line:

returns false and the LSOpenFromURLSpec()-message is written to the console. That’s as deep as I can go when debugging. The URL sent worked fine in 1.46. Any ideas?

Ok, I’ve sorted this out now.