[Mono-bugs] [Bug 366542] New: Errors in web.config can leave app in irrecoverable state

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 3 07:10:22 EST 2008


           Summary: Errors in web.config can leave app in irrecoverable
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

A web.config containing invalid xml leaves the web app in an irrecoverable
state. The error persists even after correcting the xml.

Test case:

- create empty index.aspx
- create web.config containing:

     <?xml version="1.0" encoding="ISO-8859-1"?>

- start xsp2
- request http://localhost:8080  (=> empty page)
- remove "</configuration>" from web.config
- request http://localhost:8080  => error page

- add back "</configuration>" to web.config
- request http://localhost:8080  => still error page

The web app should be able to restart after the xml is valid again.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list