Bug #87688

routeEnhancer has problem with additional parameter longer than 31 characters or number as parameter

Added by Michael Michael 2 months ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-02-11
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Routing
Complexity:
Is Regression:
Sprint Focus:

Description

There is a problem with a page using a routeEnhancer of type Plugin.

  • Calling the URL with no additional parameters works fine (e.g. example.com/route/slug )
  • Calling with a parameter up to 31 characters length (e.g. example.com/route/slug?abc4567890123456789012345678901 ), everything works fine
  • Calling with a parameter longer than 31 characters (e.g. example.com/route/slug?abc45678901234567890123456789012 ) there is an Exeption: #1537633463 OutOfRangeException Hash not resolvable in typo3/sysext/core/Classes/Routing/Enhancer/VariableProcessor.php:71
  • Calling with a parameter only containing number (e.g. example.com/route/slug?0 ) there is an Exception: TypeError - Argument 1 passed to TYPO3\CMS\Core\Routing\Enhancer\VariableProcessor::resolveHash() must be of the type string, integer given in typo3/sysext/core/Classes/Routing/Enhancer/VariableProcessor.php:373.

History

#1 Updated by Michael Michael 2 months ago

  • Description updated (diff)

#2 Updated by Guido Schmechel about 2 months ago

  • Category set to Link Handling, Site Handling & Routing

#3 Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60236

#4 Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60236

#5 Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60236

#6 Updated by Gerrit Code Review about 1 month ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60236

#7 Updated by Gerrit Code Review about 1 month ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60236

#8 Updated by Gerrit Code Review about 1 month ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60236

Also available in: Atom PDF