Skip to content
Snippets Groups Projects
Commit f5bc5558 authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[BUGFIX] Avoid mapping route values that are out of scope

Given a static route argument mapper is used - for instance one
that allows values in the range of 1 to 100 - then generating an
URL from a route with an out of scope `&value=5000` was still
generating an URL. However, HTTP request to that URL would
result in an 404 error.

This change skips routes using out of scope values during the
URL generation process to avoid pointing to invalid resources.

Resolves: #103400
Releases: main, 12.4, 11.5
Change-Id: I11e12f29e294ec86bec948d3a922d4a56b231771
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84003


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent c83bc62b
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