This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleBug Cannot Ceate A Page Named CON
Date21-Feb-2005 22:14:58 EET
Version2.1.127+
Submitter208.147.67.129
Bug criticalityMediumBug
Browser versionIE/Firefox
Bug statusNewBug
PageProvider usedVersioningFileProvider
Servlet ContainerTomcat
Operating SystemWindows XP
URL
Java version1.4

Um, try to create a page named 'CON' on a windows server indicates that the page already exists, and no edits are saved against it. I think it's getting confused with the device 'con'sole... probably?

Come to think of it, I'm curious what 'nul' would do... So okay, NUL, LPT1 all return a blank page, and... COM1 seems to hang the server waiting to do a read from the serial device!

2005-02-21 15:12:53,324 [Thread-5] ERROR com.ecyrd.jspwiki.providers.AbstractFileProvider
 ResearchWiki:CON - Failed to read
java.io.FileNotFoundException: D:\WikiHome\wikis\ResearchWiki\data\pages\CON.txt 
 (The system cannot find the file specified)	at 
java.io.FileInputStream.open(Native Method)	at 
java.io.FileInputStream.<init>(FileInputStream.java:103)	at
com.ecyrd.jspwiki.providers.AbstractFileProvider.getPageText(AbstractFileProvider.java:169)	at
com.ecyrd.jspwiki.providers.AbstractFileProvider.getPageText(AbstractFileProvider.java:150)	at
com.ecyrd.jspwiki.providers.VersioningFileProvider.getPageText(VersioningFileProvider.java:217)	at
com.ecyrd.jspwiki.providers.CachingProvider.getTextFromCache(CachingProvider.java:556)	at
com.ecyrd.jspwiki.providers.CachingProvider.getPageText(CachingProvider.java:412)	at
com.ecyrd.jspwiki.PageManager.getPageText(PageManager.java:171)	at
... 

I wonder if this has any security implications? Any comments from people who use windows?

-- JanneJalkanen

I confirm this bug. There is some info at forum.java.sun.com. As solution to this, we could create a filter, which checks the name of a wikipage. Similar to the ProfanityFilter, which checks the content of an edited wiki page. Windows users, could activate this filter. Is there already such a filter?

-- StephanSchiessling

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 25-Apr-2005 13:12 by StephanSchiessling.