Bug #41641
closedt3lib_db StripOrderBy, stripGroupBy fails if clause is misspelled or appears twice.
100%
Description
If ORDER BY or GROUP BY clauses are misspelled or appear twice in the given string. This fails.
Change the expression to be more tolerant and capable to clean, strip the related clauses efficiently.
It could allows to strip that kind of string:
ORDER BY name, tstamp DESC ORDER BY name, tstamp DESC ORDERBY name, tstamp DESC ORDER BY ORDER BY name, tstamp DESC ORDERBY ORDER BY name, tstamp DESC ORDER BYORDERBY name, tstamp DESC ORDERBYORDERBY name, tstamp DESC ORDERBYORDERBYname, tstamp DESC ORDERBYORDERBY ORDER BY name, tstamp DESC etc..
Updated by Gerrit Code Review about 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/15370
Updated by Gerrit Code Review about 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15371
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15371
Updated by Gerrit Code Review about 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15371
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/15370
Updated by Gerrit Code Review about 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15371
Updated by Laurent Cherpit about 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e68b2e75b44edd41fa5e33e8ca880a072e384f29.
Updated by Gerrit Code Review about 12 years ago
- Status changed from Resolved to Under Review
Patch set 3 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/15370
Updated by Gerrit Code Review about 12 years ago
Patch set 4 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/15370
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at https://review.typo3.org/17629
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/17630
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/15370
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/17630
Updated by Laurent Cherpit over 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset 46e817e77ac47119afbde5d1d80bd005ad4ad296.