NicolaIsotta opened a new issue, #6236: URL: https://github.com/apache/netbeans/issues/6236
### Apache NetBeans version Apache NetBeans 18 ### What happened Remote CSS is not shown if its url contains a `^` ### How to reproduce Add this to an html page: ```html <link rel="stylesheet" href="https://unpkg.com/primeflex@^3/primeflex.css"/> ``` ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows 10 version 10.0 running on amd64; Cp1252; it_IT (nb) ### JDK 11.0.17; OpenJDK 64-Bit Server VM 11.0.17+8 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else <details> <summary>stack trace</summary> <pre>SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.navigator.NavigatorController$1 java.net.URISyntaxException: Illegal character in path at index 28: https://unpkg.com/primeflex@^3/primeflex.css at java.base/java.net.URI$Parser.fail(URI.java:2913) at java.base/java.net.URI$Parser.checkChars(URI.java:3084) at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3166) at java.base/java.net.URI$Parser.parse(URI.java:3114) at java.base/java.net.URI.<init>(URI.java:600) at java.base/java.net.URL.toURI(URL.java:1061) at org.openide.filesystems.FileObject.toURI(FileObject.java:1270) Caused: java.lang.IllegalStateException at org.openide.filesystems.FileObject.toURI(FileObject.java:1275) at org.netbeans.modules.navigator.ProviderRegistry.getProviders(ProviderRegistry.java:98) at org.netbeans.modules.navigator.NavigatorController.obtainProviders(NavigatorController.java:593) at org.netbeans.modules.navigator.NavigatorController.access$200(NavigatorController.java:76) at org.netbeans.modules.navigator.NavigatorController$1.run(NavigatorController.java:391) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1419) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2034)</pre> </details> ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
