Hi,
I recently found a bug or issue within adding content to modx. Any sentence or any string of code containing the word "select" before the word "from" causes the information to not save. I understand why due to trying to prevent sequel injection, however this makes it so I cant add those two words on the same page. In my instance I am trying to add a heading titled "Our Selections" and lower in the page I have the phrase "products are made from a unique." Has anyone run into this issue and found a solution?
Thanks,
Jeff
-
☆ A M B ☆
- 24,524 Posts
Dear Susan,
Your perspicacity just saved me hours. Thank you!
I had posted an article with the words ’select’ and ’from’ in them, and it wasn’t saving.
After reading your reply above, I realized that mod_sec was not only preventing the words from being saved in an article, it was also preventing the words from being saved in a template variable with a drop down menu and a select command against an external table. That problem had me working for hours trying to find a solution, but it was a mod_sec issue which went away when we added a mod_sec exception for /manager/index.php.
See my post at:
http://modxcms.com/forums/index.php/topic,42698.0.html
Anyway, Thank you! Your post really helped me.
Best regards,
Peter Brown