Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • core
  • Classes
  • Database
  • Connection.php
Find file BlameHistoryPermalink
  • Oliver Hader's avatar
    [TASK] Move escapeLikeWildcards to Connection · b5e04c1d
    Oliver Hader authored Jul 08, 2022 and Andreas Fernandez's avatar Andreas Fernandez committed Jul 08, 2022
    Escaping SQL `LIKE` wildcards is only provided via
    `QueryBuilder::escapeLikeWildcards()`, but would be useful as
    `Connection::escapeLikeWildcards()` as well (without having the
    demand to create another `QueryBuilder` instance).
    
    With this patch, both methods are available:
    * `QueryBuilder::escapeLikeWildcards()`, and
    * `Connection::escapeLikeWildcards()`
    
    Resolves: #97878
    Releases: main, 11.5, 10.4
    Change-Id: Ia8968dee944300949c6bb2be5b15e2d02a589d25
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75061
    
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    b5e04c1d