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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...