[Mono-bugs] [Bug 380131] New: Forms authentication: Redirect URL not correct without cookie container

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 15 14:42:03 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=380131


           Summary: Forms authentication: Redirect URL not correct without
                    cookie container
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


When a HTTP request is performed to a page is protected by forms
authentication, but no cookiecontainer is set in the HttpWebRequest then the
response does not contain the correct redirect URL.

To reproduce:
1. extract the attached gzipped tar archive.
2. compile test.cs using gmcs
3. run xsp2 in the web directory.
4. run test.exe

Expected result:

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="/login.aspx?ReturnUrl=%2fDefault.aspx">here</a>.</h2>
</body></html>

Actual result:

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href='/Default.aspx'>here</a></h2>
</body><html>


-- 
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