What if webservice is automatically escaped when passing special characters?

problem description

When

webService passes special characters such as <, >,", ", etc., it is automatically escaped by the frame to .

the environmental background of the problems and what methods you have tried

look up on the Internet and use program logic is to query the String type content in the database with sql in the mapper file, and then return to add .

what result do you expect? What is the error message actually seen?

is there any way to avoid the problem of automatic escape when passing special characters without using base64 transcoding?


are you talking about escaping into < and then you can't write it on the web page directly with innerHTML? Just replace it with a regular once

doc.replace(/</g,"<");
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdc149-30629.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdc149-30629.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?