クエリ文字列の引数を区切る '&'は、がにエンコードされています。私が欲しいものではありませんUnable Response.Redirect(url);クエリの引数が多い
http://other-domain.com/?a=1&b=2
が、私は単純にしたい:
// sitecore ASP.NET server side ascx code...
string url = string.Format("http://other-domain.com/?a={0}&b={1}", "1", "2");
Response.Redirect(url);
// ...
は私のブラウザのアドレス与え、それはのResponse.Redirect(
http://other-domain.com/?a=1&b=2
です)HTMLencodingされ、私の " & '?
そして、どうやってセパレータだけを残すのですか?
http://stackoverflow.com/questions/561954/asp-net-urlencode-ampersand-for-use-in-query-string-と同じグラウンドをカバーしています。Server.UrlEncodeをご覧ください。 – dash