Bug 32652 - HttpResponse.Redirect removes double slashes in parameters when redirecting to local Urls
Summary: HttpResponse.Redirect removes double slashes in parameters when redirecting t...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: 4.0.0
Hardware: PC All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-07-31 01:27 UTC by kasthack
Modified: 2015-07-31 01:27 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description kasthack 2015-07-31 01:27:28 UTC
System.Web.Util.UrlUtils.Canonic used by HttpResponse.Redirect is broken: System.Web.Util.UrlUtils.RemoveDoubleSlashes removes all double slashes even if they are meant to be there.
HttpResponse.Redirect("/oauth?redirect_uri=http://example.com") redirects to "/oauth?redirect_uri=http:/example.com".

Note You need to log in before you can comment on or make changes to this bug.