Opened 8 years ago

Closed 8 years ago

#7921 closed bug (notabug)

Single quotes in search results are breaking autocomplete.

Reported by: ie@… Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Description

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 8 years ago by ie@…

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

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

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