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: | [82cat] [regression] Paths with %20 should be converted to spaces | ||
---|---|---|---|
Product: | javaee | Reporter: | brettryan <brettryan> |
Component: | JSP Parser | Assignee: | issues@javaee <issues> |
Status: | STARTED --- | ||
Severity: | normal | CC: | markiewb |
Priority: | P4 | Keywords: | PATCH_AVAILABLE |
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Patch replacing dangerous File.toURL() to Utilities.toURI(File).toURL() |
Description
brettryan
2016-07-12 12:53:50 UTC
Marking as regression as this does not appear within 8.1. As it doesn't (appear) to affect functionality am relaxing to P4. Created attachment 160381 [details] Patch replacing dangerous File.toURL() to Utilities.toURI(File).toURL() File.toURL() [1] should be avoided as it does not escape spaces correctly, one should convert to a URI first and then to a URL. [1]: https://docs.oracle.com/javase/8/docs/api/java/io/File.html#toURL-- |