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#334 — Parser problem when using special characters in snippet parameters
Attached to Project —
MODx
Opened by David Carter (ddecjc) - Tuesday, 04 April 2006, 04:37AM
Last edited by Garry Nutting (garryn) - Wednesday, 27 September 2006, 01:57PM
Opened by David Carter (ddecjc) - Tuesday, 04 April 2006, 04:37AM
Last edited by Garry Nutting (garryn) - Wednesday, 27 September 2006, 01:57PM
| Task Type | Bug Report |
|---|---|
| Category | Core Distribution |
| Status | Closed |
| Assigned To |
Jason Coward (opengeek) Garry Nutting (garryn) |
| Operating System | All |
| Severity | Medium |
|---|---|
| Priority | Normal |
| Reported Version | 0.9.1 |
| Due in Version | 0.9.5 |
| Due Date | Undecided |
| Percent Complete |
|
Details
When using special characters in snippet parameters, part or all of the parameter value is ignored. For example, the snippet call[!NewsListing? &tpl=`NewsListingTemplate` &startID=`2` &truncText=`Lea más...`!]
results in &trucText being rendered as "Lea ". The last part of the value ("más...") is ignored.
This task depends upon
This task blocks these from closing
Closed by Garry Nutting (garryn)
Friday, 26 September 2008, 08:59AM
Reason for closing: Deferred
Additional comments about closing: This functionality will be available in MODx Revolution.
Friday, 26 September 2008, 08:59AM
Reason for closing: Deferred
Additional comments about closing: This functionality will be available in MODx Revolution.
http://modxcms.com/forums/index.php/topic,3772.0.html#msg27380
for details.
- Field changed: Status (Assigned → Requires testing)
- Field changed: Percent Complete (0% → 100%)
Fix committed to SVN (#1492 - needs merging with main trunk for testing)- Field changed: Status (Requires testing → Reopened)
- Field changed: Percent Complete (100% → 50%)
Reopened due to proposed fix having problems with PHP4 when using UTF-8 as the charset (PHP problem with html_decode_entity)Currently researching alternatives.
MODx 0.96 seems to still be choking on special chars in the parameters to snippets. I can apply a patch and make my local version work but I can't release my snippet.