Skip to main content

Search and Top Navigation

#7921 closed bug (notabug)

Opened November 30, 2011 03:30AM UTC

Closed November 30, 2011 12:48PM UTC

Single quotes in search results are breaking autocomplete.

Reported by: 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?

Attachments (0)
Change History (2)

Changed November 30, 2011 03:53AM UTC by comment:1

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

Changed November 30, 2011 12:48PM UTC by scottgonzalez comment:2

resolution: → invalid
status: newclosed