IIS 7/7.5 預設安全機制封鎖 URL 中的雙重編碼字元 (如 + 代表空格的二次編碼 %2b),導致偽靜態規則匹配失敗、返回 404.11/400 錯誤。解決方法是在 web.config 或 applicationHost.config 中啟用 allowDoubleEscaping="true"。
+ 或 %20 (空格) 經過 Rewrite 後無法正確對應實體檔案/控制器。404.11 - URL_DOUBLE_ESCAPED 或 400 Bad Request。在網站根目錄 web.config 的 <system.webServer> 區段加入:
<configuration>
<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true" />
</security>
</system.webServer>
</configuration>

C:\Windows\System32\inetsrv\config\applicationHost.config (需管理員權限)。<configuration><system.webServer><security><requestFiltering> 節點 (約第 360 行)。<requestFiltering> 改為 <requestFiltering allowDoubleEscaping="true">。iisreset 重啟 IIS。allowDoubleEscaping="true" 允許請求篩選模組接受雙重編碼字元 (如 %252F → %2F → /),使 Rewrite 模組能正確解碼含 +/空格的 URL。瀏覽器訪問含 + 或空格的偽靜態 URL (如 /article/hello+world),應正常顯示內容而非 404/400。