This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 223515

Summary: URL link - recognize links to local files
Product: editor Reporter: mariusz_m
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED FIXED    
Severity: normal Keywords: PLAN
Priority: P3    
Version: 7.3   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: implementation

Description mariusz_m 2012-12-08 09:36:19 UTC
The editor recognize "http://" links to open web page.
How about make it possible to open pages stored on local disc? 
I put links like this into my code:

"file:///C:/CodeSourceryG++Lite/share/doc/arm-arm-none-eabi/html/getting-started/sec-cs3-startup.html"
Comment 1 Milutin Kristofic 2012-12-17 13:37:21 UTC
Created attachment 129454 [details]
implementation

I implement your enhancement. I will discuss this during planning phase.
Comment 2 mariusz_m 2012-12-17 16:19:22 UTC
Thanks for this.
And BTW: links like this
http://msdn.microsoft.com/en-us/library/dd183494(v=vs.85).aspx
are highlighted as
http://msdn.microsoft.com/en-us/library/dd183494

This link also work, but is this URL truncating correct?
Comment 3 Milutin Kristofic 2012-12-17 18:29:49 UTC
According to url specification http://www.w3.org/Addressing/URL/url-spec.txt

Brackets belongs to extra characters, which are allowed to url path. In current implementation we allow only comma (,) from extra characters and we don't allow @ from safe characters.
Comment 4 Milutin Kristofic 2013-08-29 13:31:15 UTC
http://hg.netbeans.org/jet-main/rev/3788c05ea179