假设我有这个网址“/my#stuff”。
我正在使用ASP.NET MVC,当我尝试转到这个页面时,它只会带我到"/my"。 "#stuff"部分已被移除。
Now I can get it to work fine if I encode the URL like so "/my%23stuff" since %23 decodes to #
然而,有没有一种方法可以让它在不编码URL的情况下工作?
I d like it if typing in "/my#stuff" as the URL worked just the same as "my%23stuff"