Opened 14 years ago

Closed 14 years ago

#233 closed defect (duplicate)

Double Quotes in the summary field

Reported by: bob Owned by: Dominic Hargreaves
Priority: normal Milestone:
Component: openguides Version: svn
Severity: normal Keywords:
Cc:

Description

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

Change History (3)

comment:1 Changed 14 years ago by bob

Summary: Double Quotes in the summray fieldDouble Quotes in the summary field

comment:2 Changed 14 years ago by Dominic Hargreaves

Owner: changed from Nobody to Dominic Hargreaves
Status: newassigned

comment:3 Changed 14 years ago by Dominic Hargreaves

Resolution: duplicate
Status: assignedclosed

This is essentially #79. escapeHTML will replace " with &quot; and so fix this bug.

Note: See TracTickets for help on using tickets.