Commit e29b7f7a authored by Dieter Holvoet's avatar Dieter Holvoet Committed by Sascha Grossenbacher
Browse files

Issue #3252259 by DieterHolvoet: Deprecated function: parse_str(): Passing...

Issue #3252259 by DieterHolvoet: Deprecated function: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\redirect\EventSubscriber\RedirectRequestSubscriber->onKernelRequestCheckRedirect
parent 0e9b9bb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ class RedirectRequestSubscriber implements EventSubscriberInterface {
    }

    // Get URL info and process it to be used for hash generation.
    parse_str($request->getQueryString(), $request_query);
    $request_query = $request->query->all();

    if (strpos($request->getPathInfo(), '/system/files/') === 0 && !$request->query->has('file')) {
      // Private files paths are split by the inbound path processor and the