Commit 35707440 authored by Daniel Goerz's avatar Daniel Goerz Committed by Markus Klein
Browse files

[BUGFIX] Ensure Uri->getQuery() always returns a string

As stated in the Interface:
If no query string is present, this method MUST return an empty string.

Resolves: #86520
Releases: master, 8.7
Change-Id: I9869af08c84262443e503c34a2c608fbc5ba4bc2

Reviewed-by: Mathias Brodala's avatarMathias Brodala <>
Tested-by: default avatarTYPO3com <>
Reviewed-by: Andreas Wolf's avatarAndreas Wolf <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
Tested-by: Benni Mack's avatarBenni Mack <>
Tested-by: Markus Klein's avatarMarkus Klein <>
parent 56d60665
......@@ -87,7 +87,7 @@ class Uri implements UriInterface
* The query part of the URI without the ?
* @var string
protected $query;
protected $query = '';
* The fragment part of the URI without the # before
Supports Markdown
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