[TYPO3-core] RFC: #14615: Autosuggest function doesn't work with quotes

Xavier Perseguers typo3 at perseguers.ch
Fri Jun 4 08:38:15 CEST 2010


Hi,

> Simple example: create a page with title 'havequote.
> Now try to find this page in autosuggest, example: page, type shortcut,
> Shortcut to page. Type 'ha => no results.
>
> This is because this search gives an SQL error because of unescaped quote.
>
> Solution: quote it.

I'd prefer not adding single quote ourselves at the beginning and the end and as such use fullQuoteStr instead.

+1 by reading (_v2) and testing (_v1 and _v2)

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14615_v2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100604/4baf02fd/attachment.asc>


More information about the TYPO3-team-core mailing list