This is in the development of international Ticket query page encountered a problem, the test engineer in IE to perform the query operation, and then the query URL assigned to the Firefox address bar, Firefox opened after it became garbled.
1. IE browser, select the origin, the departure date, and then click on the query
2. Jump to the query page, assign the URL in IE browser
3. Copy to Firefox/chrome browser address bar, you will find garbled
Compared to see the URL of IE and Firefox was found to be because the location.href way in IE did not do URI encoding, changed to form after the submission of the good.
Ie6-11
http://ijipiao.jd.com/international/query.action?_charset_=gbk&journeyType=RT&gjdepCity= Beijing &gjarrcity= Hong Kong &gjdepdate=2015-01-01&firstjourney.depcityname= Beijing & Firstjourney.arrcityname= Chinese/pinyin &firstjourney.depdate=&secondjourney.depcityname= Chinese/Pinyin &secondjourney.arrcityname= Chinese/pinyin &secondjourney.depdate=&gjarrdate=2015-01-05&seattype =economy&passengertype=0&adtnum=1&chdnum=0&carrier=&carriershow= Unlimited &availablejourney= Undefined&directonly=false
Firefox/chrome
http://ijipiao.jd.com/international/query.action?_charset_=gbk&journeyType=RT&gjdepCity=%b1%b1%be% A9&gjarrcity=%cf%e3%b8%db&gjdepdate=2015-01-02&firstjourney.depcityname=%B1%B1% BE%A9&firstJourney.arrCityName=%D6%D0%CE%C4/%C6%B4%D2%F4&firstJourney.depDate=& Secondjourney.depcityname=%d6%d0%ce%c4/%c6%b4%d2%f4&secondjourney.arrcityname=%d6%d0%ce%c4/%c6%b4%d2%f4 &secondjourney.depdate=&gjarrdate=2015-01-07&seattype=economy&passengertype=0&adtnum=1 &chdnum=0&carrier=&carriershow=%b2%bb%cf%de&availablejourney=undefined&directonly=false
Ie6-11 garbled when copying to Firefox or Chrome using Location.href submit link