Jump to content
WAPT Forum
Sign in to follow this  
Guest taliesin

Response Redirect and Url Encoding Bug

Recommended Posts

Guest taliesin

When redirecting to another url it appears that the url is encoded. This currently breaks my site as the rewriting rules can't handle it.

 

e.g.

 

Request

GET /restaurants-1stclasspizza-ng18 HTTP/1.1
Cookie: ASP.NET_SessionId=ou0abhm1hkyuqfmkuckumtn4
Accept: text/html, */*
Accept-Language: en-us, *
Accept-Encoding: compress, gzip, *
Pragma: no-cache
X-Load-Test-Scenario: fe-place-an-order
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7
Host: perf1beta.just-eat.co.uk
Referer: http://perf1beta.just-eat.co.uk/area/GU22-AREA

 

Response

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: /restaurants-1stclasspizza-ng18/menu
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 25 Feb 2011 16:04:12 GMT
Content-Length: 157

 

New request

GET /restaurants%2D1stclasspizza%2Dng18/menu HTTP/1.1
Cookie: ASP.NET_SessionId=ou0abhm1hkyuqfmkuckumtn4
Accept: text/html, */*
Accept-Language: en-us, *
Accept-Encoding: compress, gzip, *
Pragma: no-cache
X-Load-Test-Scenario: fe-place-an-order
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7
Host: perf1beta.just-eat.co.uk
Referer: http://perf1beta.just-eat.co.uk/area/GU22-AREA

 


 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×