Opened 11 years ago

Closed 11 years ago

#7921 closed bug (notabug)

Single quotes in search results are breaking autocomplete.

Reported by: [email protected] Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:


If server-side application returns results that contain single quotes that breaks autocomplete. Drop-down list just does not appear. That bug was reported twice and twice developers answered "why would you need to use your server side results, demo is working". People, demo is always working but in real life autocomplete might be used with all sort of characters, e.g. Last name can be "O'Connor" Why would it be invalid data that breaks autocomplete?

Change History (2)

comment:1 Changed 11 years ago by [email protected]

I think it happens only if Content-Type is "text/html". When I set it to "application/json" it works.

comment:2 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.