Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from JohnACarruthers/master
Browse files Browse the repository at this point in the history
Update FastCGI to use REQUEST_URI parameter
  • Loading branch information
gonzalop committed Mar 29, 2013
2 parents 02c073d + c00209b commit 6365230
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Mono.WebServer.FastCgi/WorkerRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ public override string GetRawUrl ()
{
if (raw_url != null)
return raw_url;

string fcgiRequestUri = responder.GetParameter ("REQUEST_URI");
if (fcgiRequestUri != null)
{
raw_url = fcgiRequestUri;
return raw_url;
}

StringBuilder b = new StringBuilder (GetUriPath ());
string query = GetQueryString ();
Expand Down

0 comments on commit 6365230

Please sign in to comment.