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#175 — Error with the parser and equal signs

Attached to Project — MODx
Opened by Vinh CHUC (chucky) - Saturday, 24 December 2005, 06:00PM
Last edited by Jason Coward (opengeek) - Wednesday, 21 November 2007, 10:34AM
Task Type Bug Report
Category Core Distribution
Status Closed
Assigned To Jason Coward (opengeek)
Operating System All
Severity High
Priority High
Reported Version 0.9.0
Due in Version 0.9.7-beta
Due Date Undecided
Percent Complete 100%

Details

Hi !
Well it seems the snippet can't handle equal signs, example snippet :
[[test]]
[code]
return $var;
[/code]

in the web page, [!test? &var=`something=else` !]
this snippet will only displayer "something", it just stops right before the "equal" signs
more details here : http://modxcms.com/forums/index.php/topic,1944.0.html
This task depends upon

This task blocks these from closing
Closed by  Ryan Thrash (rthrash)
Friday, 26 September 2008, 08:55AM
Reason for closing:  Implemented
Additional comments about closing:  Revolution
Comment by Vinh CHUC (chucky) - Tuesday, 21 February 2006, 12:00PM
Could someone confirm this bug ?
thx

Comment by Jason Coward (opengeek) - Thursday, 30 March 2006, 03:34PM
This is a confirmed issue -- most snippet developers find an alternate syntax to represent either ?, & or = when required in the snippet parameters. I'm researching a fix for it permanently.

Comment by doze (doze) - Saturday, 21 April 2007, 05:51PM
Comment by Jason Coward (opengeek) - Wednesday, 21 November 2007, 10:34AM
  • Field changed: Status (Researching → Requires testing)
  • Field changed: Due in Version (1.0 → 0.9.7-beta)
  • Field changed: Percent Complete (0% → 100%)
This has been implemented in the 0.9.7 branch; so long as ? = or & symbols appear within the backticks escaping a parameter value, they will be handled properly now.