在我的單頁主幹應用中,我無法讓我的更長的網址在IE中正確路由。任何嵌套多個級別的URL,直接加載它們時都不會收到正確的散列漏洞。Backbone.history:深度網址在IE中沒有正確倒退
頂級網址,做工精細...
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
UPDATE:
這是IE9
哪個IE版本? – jevakallio
已更新。謝謝! – Thomas
你有一個可以複製此問題的實時頁面嗎?我想看看,但我沒有一個pushState配置的服務器在手邊來試試這個。 – jevakallio