Bug #31773

Query Parameter "_" triggers Notice "Uninitialized string offset: 1"

Added by Johannes K about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
MVC
Start date:
2011-11-12
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:
no-brainer

Description

If FLOW3 gets a Request with a parameter named "_" the code check for an internal argument in TYPO3\FLOW3\MVC\Web\Request::setArgument() fails with a PHP Notice: Uninitialized string offset: 1 in line 362

http://flow3.localhost/?_=123

This happens e.g. in jQuery ajax calls do to avoid caching

#1

Updated by Bastian Waidelich about 10 years ago

  • Status changed from New to Accepted

Good catch! Should I take care?

#2

Updated by Mr. Hudson about 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change I87927e66831c20f06acfa506c9e222635faa33b2 has been pushed to the review server.
It is available at http://review.typo3.org/6641

#3

Updated by Johannes K about 10 years ago

Too late ;)

#4

Updated by Mr. Hudson about 10 years ago

Patch set 2 of change I87927e66831c20f06acfa506c9e222635faa33b2 has been pushed to the review server.
It is available at http://review.typo3.org/6641

#5

Updated by Mr. Hudson about 10 years ago

Patch set 3 of change I87927e66831c20f06acfa506c9e222635faa33b2 has been pushed to the review server.
It is available at http://review.typo3.org/6641

#6

Updated by Johannes K about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF