[Mono-bugs] [Bug 342533] New: Gmail server reports bad request when referer is set.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 17 13:59:20 EST 2007


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

           Summary: Gmail server reports bad request when referer is set.
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: i686
        OS/Version: Novell Linux Desktop 9 SP2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: m.majchrowicz at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=183808)
 --> (https://bugzilla.novell.com/attachment.cgi?id=183808)
Simple test case

I noticed that setting referer in some cases can cause some problems with mono.
This is what I get when I run the test case:
http://www.google.pl/accounts/SetSID?ssdc=1&sidt=E7v5ThYBAAA%3D.LSV%2Bl0GHFv2G8nzdcQ%2Fu2ZT%2B14dqJKUcDw57ACY2h9veEke1JAuz1V2TkbZV6er5md7yAN%2FlOksEoeMWdlEJ1fz12byvEXKOm8L5oJOVDHHeGaNnvr5bWJG66eKvjxW3pj6poABBLQlTq0f9S%2FOnnI%2B0J%2FP%2FZp%2BvVPvpTC5%2BnEERz%2FgzMLQmp%2F9xqUmZ4Kaw%2BXYEFMUmgCYel8bUKT1FIbcYEMef%2FhZZXyEWlrzVoaE%3D.FEG7tbbqGv0WbcvJrHsQBw%3D%3D&continue=http%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dhtml%26zy%3Dl%26auth%3DDQAAAGwAAABneyA9ONtC51s7IbWM_-vbcgvr0xJ4x9LpHLS8IO2LE1YKE2rD_4BXXVWgZED8TAyT1LjiShq9h8lziQxRtWHOMyYOLdGdSY1HyOaPu56ee9g2yZZQPkYyqQbyPzFNrvduU7wP3pzpH0rT8a-VRUtd%26gausr%3Dmy0test%2540gmail.com
after
https://www.google.com/accounts/CheckCookie?continue=http%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dhtml%26zy%3Dl&service=mail&chtml=LoginDoneHtml

Unhandled Exception: System.Net.WebException: The remote server returned an
error: (400) Bad Request.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult
result) [0x00000] 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData
data) [0x00000]


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


More information about the mono-bugs mailing list