Login!
Lost password?
 

MODx Bug/Feature Tracker and Feature Requests

Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!

FS#461 — Special characters in plugin arguments

Attached to Project — MODx
Opened by T.S (uglydog) - Thursday, 13 July 2006, 11:36AM
Last edited by Ryan Thrash (rthrash) - Saturday, 27 September 2008, 08:14AM
Task Type Bug Report
Category Core Distribution
Status New
Assigned To Garry Nutting (garryn)
Operating System All
Severity Medium
Priority Normal
Reported Version 0.9.2/0.9.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%

Details

In MODx 0.9.2.1, there is a bug that in plugin argument modification, some specific characters as =, ; cannot be saved properly (simplly erased) and ", <, > distort other arguments.

This is a diff patch for it. (by URLencoding-decoding or replacing by HTML entities of these characters)   plugin_arguments_fix.zip
This task depends upon

This task blocks these from closing
Comment by T.S (uglydog) - Thursday, 13 July 2006, 11:57AM
There was a problem that parsing all properties in the same manner(URLdecode, unhtmlentities) affects not only to plugins but also to snippets.
I attached a fix to it. (adding $decode(default false) option to modx::parseProperties() )
  plugin_arguments_fix.zip
Comment by Nick Crossland (ncrossland) - Thursday, 12 July 2007, 09:00AM
This is still present in 0.9.6 -- it seems a simple fix, and a patch has been provided, so perhaps it could be done for 0.9.6.1 ??

It's a real problem as it's impossible to set parameters for Advanced Image/Link Styles in TinyMCE config.