#233: Double Quotes in the summray field ------------------------+--------------------------------------------------- Reporter: bob | Owner: Nobody Type: defect | Status: new Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Keywords: ------------------------+--------------------------------------------------- I dont think were escaping from the database properly.
a summary line of 'one 5 Tube and "rail station on the Bakerloo Line and the Euston-Watford "Line.'
produces the followign html in the form
{{{ <label for="summary">One-line summary of this page:</label>
<div class="edit_box"> <input size="50" id="summary" name="summary" value="Zone 5 Tube and " rail="" station="" on="" bakerloo="" and="" the="" euston- watford="" line="" type="text"> </div> <span class="hint">
A brief description of the thing this page is about. It'll show up in lists of search results.
</span>
</div> </fieldset> }}}
that would be bad
#233: Double Quotes in the summary field ------------------------+--------------------------------------------------- Reporter: bob | Owner: Nobody Type: defect | Status: new Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: Keywords: | ------------------------+--------------------------------------------------- Changes (by bob):
* summary: Double Quotes in the summray field => Double Quotes in the summary field
#233: Double Quotes in the summary field ------------------------+--------------------------------------------------- Reporter: bob | Owner: dom Type: defect | Status: assigned Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: Keywords: | ------------------------+--------------------------------------------------- Changes (by dom):
* status: new => assigned * owner: Nobody => dom
#233: Double Quotes in the summary field ------------------------+--------------------------------------------------- Reporter: bob | Owner: dom Type: defect | Status: closed Priority: normal | Milestone: Component: openguides | Version: svn Severity: normal | Resolution: duplicate Keywords: | ------------------------+--------------------------------------------------- Changes (by dom):
* status: assigned => closed * resolution: => duplicate
Comment:
This is essentially #79. escapeHTML will replace " with " and so fix this bug.
openguides-tickets@lists.openguides.org