The problem is that , Enter... At the front desk ：+++ 3 Plus sign , And then submit it to the background , There's no problem displaying it on the front page
Backstage use req.getParameter(“comment”); Get content , The result is 3 A space , That is, there is no access to + Number , How to solve it .
The first solution ： When we can get strings in the foreground , take ”+” The number is converted to ”%2B”.
comment=comment.replace(/\+/g,"%2B");// \ It's an escape
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .