Ticket #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: | ||
| Blocking: | Blocked by: |
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
Note: See
TracTickets for help on using
tickets.


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