Internet ExplorerでSitecoreクライアントを使用する際に、ユーザーが未定義のページにリダイレクトされる場合がある


説明

Internet ExplorerでSitecoreクライアントを使用する際に、ユーザー セッションの有効期限が切れると、ユーザーがログイン ページではなく次のようなURLのページにリダイレクトされる場合があります。

http://hostname/sitecore/:///undefined?returnUrl=%2Fsitecore%2Fshell

次のエラーが記録される場合もあります。

Exception: System.Web.HttpException
Message: A potentially dangerous Request.Path value was detected from the client (:).
Source: System.Web
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)

解決策

本問題を解決するには、以下の手順を実行してください。

  1. 添付の「Sitecore.Support.437015.dll」アセンブリ ファイルを「\bin」フォルダーにコピーします。
  2. 添付の「Sitecore.Support.437015.config」ファイルを「\App_Config\Include」フォルダーにコピーします。
  3. 「\sitecore\shell\Controls\Sitecore.js」ファイルを添付のSitecore.jsに置き換えます。
  4. 「\sitecore\login\default.aspx」ファイルにアクセスし、「Page」ディレクティブを次のように変更します。
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Sitecore.Support.sitecore.login.Default" %>
  5. ブラウザのキャッシュをクリアし、ブラウザを再起動します。