Opened 5 years ago

Closed 4 years ago

#2414 closed defect (fixed)

A BR code displays on the Advanced Search

Reported by: Martin Reisinger Owned by: Kay Kittell
Priority: minor Milestone: Server 2.2.2
Component: Public Website 2 Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description (last modified by Martin Reisinger)

A BR code displays on the Advanced Search when using the Genus Additional Search criterion

Attachments (1)

br_code_visible_error.jpg​ (101.4 KB ) - added by Martin Reisinger 5 years ago.

Download all attachments as: .zip

Change History (7)

by Martin Reisinger, 5 years ago

Attachment: br_code_visible_error.jpg​ added

comment:1 by Martin Reisinger, 5 years ago

Description: modified (diff)

comment:2 by Kay Kittell, 5 years ago

Milestone: → Next Release - Server
Status: new → addressed

A recent change was made to htmlEncode displays for security purposes. This made the <br /> code show as text. Changed the display to have commas separating multiple criteria in the search page

comment:3 by Kay Kittell, 5 years ago

Also, the display for descriptors needed to be htmlEncoded, so I changed the display to match that of the search and encoded the string before display.

comment:4 by Kay Kittell, 5 years ago

Instead of using htmlEncode on the entire display string, I used it on user-entered data only so the <br /> show as line breaks.

comment:5 by Kay Kittell, 5 years ago

Milestone: Next Release - Server → Server 2.2.2

comment:6 by Martin Reisinger, 4 years ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.