svn path=/trunk/mcs/; revision=95563
+2008-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+ * HtmlForm.cs: fixed action attribute in RenderAttributes under
+ TARGET_JVM
+
2008-02-06 Marek Habersack <mhabersack@novell.com>
* HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
#else
// Allow the page to transform action to a portlet action url
string customAction = Attributes ["action"];
- if (String.IsNullOrEmpty(customAction))
- action = CreateActionUrl (VirtualPathUtility.ToAppRelative (Page.Request.CurrentExecutionFilePath) + Page.Request.QueryStringRaw);
+ if (String.IsNullOrEmpty (customAction)) {
+ string queryString = Page.Request.QueryStringRaw;
+ action = CreateActionUrl (VirtualPathUtility.ToAppRelative (Page.Request.CurrentExecutionFilePath) +
+ (string.IsNullOrEmpty (queryString) ? string.Empty : "?" + queryString));
+ }
else
action = customAction;