Quantcast
Channel: Request.QueryString is empty but Request.RawUrl is not
Viewing all articles
Browse latest Browse all 6

Request.QueryString is empty but Request.RawUrl is not

$
0
0

Hi,

I have an tricky problem. I'm not sure what caused that strange behavior so I explain the whole process.

In a secure environment using adfs I call an Test application. Since I am not authenticated I got redirectet to the adfs service (wcf). Since my homerealm is not clear the service redirects me to a home realm discovery site. This is where my problem starts.

The Home Realm Discovery site got called with the following parameters (copied from the Browser)

https://myserver.com/adfs/ls/?wa=wsignin1.0&wtrealm=https%3a%2f%2fsite1.com%2fapplications%2fdemoapp&wctx=rm%3d0%26id%3dpassive%26ru%3d%252fDefault.aspx&wct=2012-01-31T16%3a16%3a40Z

I can read the http-Parameters when I parse the Request.RawUrl Property. However the Request.QueryString is always empty and in my opinion thas something that should not be.

There is a workaround (->RawUrl) but I think using QueryString should be the way to do.


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images