Code

Opened 3 years ago

Closed 3 years ago

#16230 closed Bug (fixed)

ErrorDict does not escape error messages

Reported by: gregmuellegger Owned by: gregmuellegger
Component: Forms Version: 1.3
Severity: Normal Keywords: errordict
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

error messages that are passed into ErrorDict will be rendered without beeing escaped.

Attachments (1)

ticket16230.errordict_escaping.1.diff (1.5 KB) - added by gregmuellegger 3 years ago.
Tests and Fix

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by gregmuellegger

Tests and Fix

comment:1 Changed 3 years ago by gregmuellegger

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by aaugustin

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 3 years ago by julien

  • Triage Stage changed from Accepted to Ready for checkin

Looks good to me.

comment:4 Changed 3 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

In [16461]:

Fixed #16230 -- Correctly escape errors message passed to ErrorDict. Thanks, Gregor Müllegger.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.