Menu

#12 Page containing COM1 causes an exception

FlexWiki
open
nobody
7
2004-10-02
2004-10-02
No

(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

Discussion

  • Anonymous

    Anonymous - 2004-10-02
    • priority: 5 --> 7
     
  • Hallgrim

    Hallgrim - 2004-11-09

    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.

     
  • David Ornstein

    David Ornstein - 2004-11-09

    Logged In: YES
    user_id=39729

    I much prefer option 2. :-)

     
  • Hallgrim

    Hallgrim - 2004-11-16

    Logged In: YES
    user_id=450959

    Add topics with empty title to illegal topic names as well.

     
  • Bart Fibrich

    Bart Fibrich - 2005-10-02

    Logged In: YES
    user_id=1124145

    Tested on build 1.8.0.1695.
    Bug still active.

     

Log in to post a comment.