Bug 12918 - Wrong form action after Server.Transfer
Summary: Wrong form action after Server.Transfer
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: master
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-06-27 12:26 UTC by APS
Modified: 2013-06-27 12:26 UTC (History)
2 users (show)

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


Description APS 2013-06-27 12:26:41 UTC
If I'm in a page with path "/myapp/directory1/mypage1.aspx" and inside code I put a Server.Transfer("../directory2/mypage2.aspx") the request is correctly transferred but the value of the action attribute of the form tag is "directory2/mypage2.aspx" and any subsequent postback fails with the error:
"/myapp/directory1/directory2/mypage2.aspx" doesn't exists

In Microsoft .Net framework and even in Mono 2.0.1 the action attribute takes the value "../directory2/mypage2.aspx" and everything works fine.

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