Re: Exception caused by file name

  •  04-17-2006, 3:14 PM

    Re: Exception caused by file name

    Here is the error message as copied from your demo trying to uplad a file with two dots:

    Server Error in '/' Application.

    Absolute path can't contains '..'

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: Absolute path can't contains '..'

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [Exception: Absolute path can't contains '..']
    CuteEditor.Impl.FileSystemStorage.a(String A_0, String A_1, Boolean A_2) +893
    CuteEditor.Impl.FileSystemStorage.GetFileUrl(String filepath) +24
    CuteEditor.Dialogs.FileBrowserPage.uploadButton_Click(Object sender, EventArgs e) +2143
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
    System.Web.UI.Page.ProcessRequestMain() +1292



View Complete Thread