PHP Classes

single quotes aren't escaped so the generated JSON can be cor...

Recommend this page to a friend!

      MySQL to JSON  >  All threads  >  single quotes aren't escaped so the...  >  (Un) Subscribe thread alerts  
Subject:single quotes aren't escaped so the...
Summary:Package rating comment
Messages:2
Author:Spellcoder
Date:2009-06-11 19:52:20
Update:2009-12-12 17:44:42
 

Spellcoder rated this package as follows:

Utility: Bad
Consistency: Not sure
Documentation: Not sure
Examples: Not sure

  1. single quotes aren't escaped so the...   Reply   Report abuse  
Picture of Spellcoder Spellcoder - 2009-06-11 19:52:20
single quotes aren't escaped so the generated JSON can be corrupt or if eval() is used on the JSON can cause security issues.

  2. Re: single quotes aren't escaped so the...   Reply   Report abuse  
Picture of Adnan Siddiqi Adnan Siddiqi - 2009-12-12 17:44:42 - In reply to message 1 from Spellcoder
you are right. This was a known issue, however I could not get chance to update the class and submit the patch.