Special characters cause jquery-mobile to be suspended (malformed URI sequence is reported on the firefox console). urimalformed solves the problem.
When a colleague encounters a problem, refreshing the page causes the page to be suspended. The browser console reports malformed URI sequence,
After investigation, it is found that the problem is caused by referencing jquery-mobile js. Some Chinese parameters are in the url. After the page is refreshed, the parameters are automatically escaped with special characters,
The page is suspended.
Problem simulation:
Version 1.4 causes page suspension and the loading icon keeps getting stuck:
Http://demos.jquerymobile.com/1.4.5/theme-default? % E9
Normal version 1.3
Http://demos.jquerymobile.com/1.3.2? % E9
Because it was not my project that could not be debugged, I finally asked my colleagues to put the parameters into the body and use post transmission to solve the problem.
The system can provide a reference for students who have encountered this problem.
References:
Https://github.com/jquery/jquery-mobile/issues/7853
Https://github.com/cowboy/jquery-bbq/issues/21
Http://stackoverflow.com/questions/18352605/decoding-e9-to-utf8-fails