Special characters cause jquery-mobile to be suspended (malformed URI sequence is reported on the firefox console). urimalformed solves the problem.

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.