[TYPO3-core] RFC #1436: Meta tag output in indexed search result breaks layout

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue Mar 23 16:54:09 CET 2010


Hi!

This is SVN patch request.

Type: bug (UI, usability)

Branches: 4.3, 4.4

BT reference: http://bugs.typo3.org/view.php?id=1436

Problem: if indexing of meta tags is enabled and keywords do not contain
spaces, indexed search will treat keywords line as one long word when
generating FE output. Note that indexing happens correctly, problem is
only with search results excerpt. Indexed search takes excerpt from the
index_fulltext table. In this table all searchanble document parts are
concatenated as is. So if keywords do not have spaces, they will be
treated as a single long word in excerpt and destroy layout in many cases.

Solution: since the format of keywords meta is well known, make sure
there are spaces before adding keywords to index_fulltext. This is the
cheapest solution that solves the problem with existing database structure.

Note: I have some other changes in the patched file, so the second
fragment may not apply cleanly. In this case you simply need to put the
added function to the very end of the class.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member Read more @
http://dmitry-dulepov.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1436.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100323/743e9ec0/attachment.txt>


More information about the TYPO3-team-core mailing list