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.
Summary: | Illegal use of FileSystem.get{Display,System}Name | ||
---|---|---|---|
Product: | ide | Reporter: | Jesse Glick <jglick> |
Component: | Internal Server | Assignee: | _ rkubacki <rkubacki> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 18589 |
Description
Jesse Glick
2001-08-22 21:46:49 UTC
assigned getDisplayName in HttpServerSettings is definitely wrong (should be getSystemName to work with JavadocServlet). OTOH getSystemName is not so bad IMO as the servlet need to encode filesystem of given fileobject somehow without regard to implementation of FS. Maybe that it is worth to be rewritten to use URLEncoder and URLDecoder instead of its own mangling and solve multibyte characters. Target milestone 3.3.1. Set target milestone to TBD Set target milestone to TBD I guess that current usages are OK. getDisplayName for page that lists all javadoc mount points (http://localhost:8082/javadoc/) similar to View | Documentation indices. getSystemName is properly encoded before it is returned. It could be problem if it changed during session but it is not currently the case. I think it is OK now. BTW fs.getDisplayName() is added to HTML without any character escaping. This is probably wrong; see XMLUtil Javadoc for hints how to fix it. Verified in 20030225. |