I have a WordPress-based blog. There was a malware attack on the site, which totally locked a table and made the site inaccessible. After the hosting company cleaned it up, all the images (and other stuff, except for text) in my posts stopped displaying.
Upon investigation, I found that all the quotation marks " had been escaped, that is they had turned into \". Here’s a sample code from a WordPress post:
<img title=\"Wendy's Chicken club - Fast food: ads vs reality\"
height=\"344\" alt=\"Wendy's Chicken club\"
src=\"http://www.sawantshah.com/wp-content/uploads/2009/04/image-thumb.png\"
width=\"640\" border=\"0\" />
Now, how shall I turn these escaped quotes back to normal through SQL? Will a simple find and replace work for escape sequences?
Blog where the problem is occurring, for reference: http://www.sawantshah.com.
1 Answer