Skip to content
Snippets Groups Projects
Commit fe9dde66 authored by Christian Spoo's avatar Christian Spoo Committed by Stefan B�rk
Browse files

[BUGFIX] Only treat numerical route arguments as possible UIDs

`PersistedAliasMapper` and `PersistentPatternMapper` both should only
use int-like string route arguments as possible UID candidates for the
following DB lookup.

Thus, check if the arguments are truly numerical before passing them to
the database queries.

Resolves: #93105
Releases: main, 12.4
Change-Id: Ic3b9b5415abfce602b6be7c8031202823ea25e60
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80381


Reviewed-by: default avatarStefan B�rk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarStefan B�rk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent 2aef60cf
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment