(This bug has been transposed from the
WikiDefectPageContainingCOMThen1page. It was
originally submitted by James Berry for Version
1.0.1597.19735)
Try editing a page, and selecting save if it contains the
text COM1 - the result is a page displayed showing the
exception report instead of the page content.
I imagine other device names would have the same
problem.
This is a high priority defect because it allows an end
user to destroy a wiki page in a way in which it is not
obvious how to fix
Logged In: YES
user_id=450959
It does not seem that the Win32 GetFileType is not available
from managed code.
Option1:
Topics starting with CLOCK$, AUX, CON, NUL, CAS, PRN,
COMn, LPTn or with names that contains characters "*/:<>?
| must be escaped somehow.
Option2:
Create a empty file with the requested file name before
starting the editor for a empty page, and fail gracefully if the
file cannot be created.
Logged In: YES
user_id=39729
I much prefer option 2. :-)
Logged In: YES
user_id=450959
Add topics with empty title to illegal topic names as well.
Logged In: YES
user_id=1124145
Tested on build 1.8.0.1695.
Bug still active.