所以目前,我有我的网址是这样的:http://localhost:8000/fund_monitor/fund_details/fundaccountid=4&transmission=3&startDate=2017-08-01&endDate=2017-08-02/
JavaScript网址替换
后来,当我重定向使用windows.location.replace(url)
的网址,该网址会变成这样:http://localhost:8000/fund_monitor/fund_details/fundaccountid%3D4&transmission%3D3&startDate%3D2017-08-01&endDate%3D2017-08-02/
所以等号被转换为另一种格式。有没有办法保留原始格式?
感谢
似乎并没有引起我的问题在Chrome最新版本。你正在使用哪种浏览器? –
那么为什么它不是查询字符串?它正在urlencoded .... – epascarello
我使用Chrome:/ – anderish