You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Matthias Bläsing (Jira)" <ji...@apache.org> on 2019/12/24 08:48:00 UTC
[jira] [Resolved] (NETBEANS-3249) Chrome connector connection with
NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Bläsing resolved NETBEANS-3249.
----------------------------------------
Fix Version/s: 11.3
Assignee: Matthias Bläsing
Resolution: Fixed
> Chrome connector connection with NetBeans
> -----------------------------------------
>
> Key: NETBEANS-3249
> URL: https://issues.apache.org/jira/browse/NETBEANS-3249
> Project: NetBeans
> Issue Type: Bug
> Reporter: Geertjan Wielenga
> Assignee: Matthias Bläsing
> Priority: Major
> Labels: pull-request-available
> Fix For: 11.3
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Here's a fix for the Chrome connector issue:
> https://netbeans.org/bugzilla/show_bug.cgi?id=245227#c15
> Also, in an e-mail by Rob Cooper, the reporter in the above, to me:
> {quote}The file I updated is -
> webcommon/extbrowser.chrome/src/org/netbeans/modules/extbrowser/plugins/ExternalBrowserPlugin.java
> I updated method urlToString(...) as follows -
> private String urlToString(URL url) {
> String urlStr;
> String badStart = "file:/private/var/";
> String goodStart = "file:/var/";
> try {
> // try to 'normalize' the URL
> urlStr = url.toURI().toASCIIString().toLowerCase();
> } catch (URISyntaxException ex) {
> urlStr = url.toExternalForm();
> }
> if (urlStr != null && urlStr.startsWith(badStart)) {
> return goodStart + urlStr.substring(badStart.length());
> }
> return urlStr;
> }
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists