diff options
Diffstat (limited to 'mcs/class/referencesource/System.Web/UI/PartialCachingControl.cs')
-rw-r--r-- | mcs/class/referencesource/System.Web/UI/PartialCachingControl.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/referencesource/System.Web/UI/PartialCachingControl.cs b/mcs/class/referencesource/System.Web/UI/PartialCachingControl.cs index 5e61537f1e5..9efc13a5871 100644 --- a/mcs/class/referencesource/System.Web/UI/PartialCachingControl.cs +++ b/mcs/class/referencesource/System.Web/UI/PartialCachingControl.cs @@ -468,9 +468,9 @@ public abstract class BasePartialCachingControl : Control { NameValueCollection reqValCollection; HttpRequest request = Page.Request; if (request != null && request.HttpVerb == HttpVerb.POST) { - // - - + // Bug 6129: Partial cache key should include posted form values in postbacks. + // Include both QueryString and Form values (but not Cookies or Server Variables like Request.Params does). + // Per Request.Params behavior, add QueryString values before Form values reqValCollection = new NameValueCollection(request.QueryString); reqValCollection.Add(request.Form); } |