在我的单页主干应用程序中,我无法让较长的网址在 IE 中正确路由。任何嵌套多于一层的 url 在直接加载它们时都不会收到正确的 hash fallbak。
顶级网址工作正常...
when I load: domain.com/resource
in IE I get: domain.com/#resource (as expected)
导航(应用内)工作正常......
when I click on a link to: domain.com/resource/12345
IE sends me to: domain.com/#resource/12345 (as expected)
但是访问更深的 url 会直接破坏页面
when I load: domain.com/resource/12345
in IE I get: domain.com/resource/12345 !! this is incorrect, and the page doesn't load
更新:
这是IE9