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.
Steps to reproduce: 1. Moun a web module. 2. Try to create a jsp with "\" name. Expected result: exception "Can't create ..." and nothing is created. Actual result: exception and ".jsp" node is created. S1S 5 SE 030223, JDK 1.4.0_02.
The problem with invalid name when a template is instantied. Not only with jsp but with java classes too. It should be solved in 4.0.
IllegalArgumentException rises.
*** Issue 32970 has been marked as a duplicate of this issue. ***
I tried it and no exception appeared. "\.jsp" file was created. Creation of file with such name should be forbidden. -it doesn't happen in all wizards. -there should be the same approach in all "New..." wizards -> filed enhancement 32986
*** Issue 33060 has been marked as a duplicate of this issue. ***
*** Issue 33314 has been marked as a duplicate of this issue. ***
No changes planned to 3.6.
*** Issue 38748 has been marked as a duplicate of this issue. ***
phrased from issue 38748: "HTML wizard "allows" creation of "<.html" file (wrong Windows file name), which causes exception after wizard finish. RECOMMENDATION: It could behave like renaming file in "Filesystems" window where an information dialog "cannot rename file" appears. NOTICE: If adding file name constraints to the wizard, it should behave well also on unix/linux."
*** Issue 42558 has been marked as a duplicate of this issue. ***
Note: After implementation issue 49332, the wizard can throw IOException if new file creation fails, notify user and allow an user correct input values.
Resolving issue 49332 fixes this issue enough, closed as fixed.
4.2 20050704 sol/sparc. I'd like to verify this, but i can't. While I'm able in wizard to create file "*798$%^&abcd.jsp" and "*(&@.html", something is wrong. The only possitive i found that java class name is checked correctly. Reopening it, sorry.
Fixed in Java Project in NB4.0. Problems with wrong filenames in Web Project is duplicate of issue 56805. *** This issue has been marked as a duplicate of 56805 ***
ver as duplicate