djplaner / moodle-mod_bim

A Moodle activity module the provides support for managing/marking individual student blogs hosted on external services.
http://davidtjones.wordpress.com/research/bam-blog-aggregation-management/
7 stars 2 forks source link

Fix problem with single quotes and special character kludge #17

Closed djplaner closed 14 years ago

djplaner commented 14 years ago

It appears that the special character kludge is causing SQL insert/update problems.

e.g. problem starts with a blog post that uses special characters to represent '

When BIM goes to insert/update this post into the database it runs the special character kludge which converts the special character representing ' into an actual '. Which causes problems with the SQL.

I still need to confirm this. It's a suspicion, but a strong one.

The fix will be to move the special character processing back into the RSS processing so that the normal escaping of SQL isn't bypassed by the kludge being done after it.

djplaner commented 14 years ago

This was not the problem.