Home >Web Front-end >JS Tutorial >Solve the problem of connection error when js data contains plus sign and is transmitted to the background through ajax_javascript skills
Yesterday, someone raised a bug, saying that "Detective B" and "Detective C" cannot be watched. I was very depressed at the time, because other resources can be played, why can't this be played, and I have converted the characters of the movie names. During debugging, I found that there was a " " after transcoding the movie name in the URL address. I wondered if this was the problem, so I deleted the " " and the link became smooth. It turned out to be this problem, so I escaped the plus sign.
There is a lot about escaping special characters on the Internet. I write this mainly to help you troubleshoot problems and provide some ideas.