|Title|Bug Cannot Ceate A Page Named CON
|Date|21-Feb-2005 22:14:58 EET
|Version|2.1.127+
|Submitter|208.147.67.129
|[Bug criticality]|MediumBug
|Browser version|IE/Firefox
|[Bug status]|NewBug
|[PageProvider] used|VersioningFileProvider
|Servlet Container|Tomcat
|Operating System|Windows XP
|URL|
|Java version|1.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
... 
}}}