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#288 — Menu Title turns & into &

Attached to Project — MODx
Opened by Brett (The Man Can!) - Tuesday, 28 February 2006, 01:50AM
Last edited by Susan Ottwell (sottwell) - Thursday, 21 September 2006, 01:41AM
Task Type Bug Report
Category Core Distribution
Status Closed
Assigned To Susan Ottwell (sottwell)
Garry Nutting (garryn)
Operating System All
Severity Low
Priority Normal
Reported Version 0.9.1
Due in Version 0.9.5
Due Date Undecided
Percent Complete 100%

Details

Enter into the Menu Title field:
Backups & Services

After saving, turns into:
Backups & Services

This messes up an otherwise perfectly validating page.

Ideally, it'd turn & into &, but somehow display &. That way, a non-technical user could enter the & and not wreck the validation.

Even if it just behaved like the Page Title and Long Title (which does not alter the &) it'd be great.

Thanks!

Described here:
http://modxcms.com/forums/index.php/topic,3089.0.html


This task depends upon

This task blocks these from closing
Closed by  Garry Nutting (garryn)
Friday, 19 September 2008, 07:39PM
Reason for closing:  Fixed
Additional comments about closing:  Looks like it's fixed to me in 0.9.6.2 release
Comment by Susan Ottwell (sottwell) - Monday, 14 August 2006, 09:26AM
This is related to the use of double-quotes; it is solved by adding htmlspecialchars(stripslashes()) around the input field's value in mutate_content.dynamic.php:

value="<?php echo htmlspecialchars(stripslashes($content['menutitle']));?>"

Comment by Ryan Thrash (rthrash) - Saturday, 30 December 2006, 12:23PM
Did this get committed to SVN dev branch?