File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/PageCache/Model/App/Request/Http
lib/internal/Magento/Framework/App/PageCache Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \PageCache \Model \App \Request \Http ;
9
9
10
+ use Laminas \Uri \UriFactory ;
10
11
use Magento \Framework \App \Http \Context ;
11
12
use Magento \Framework \App \PageCache \IdentifierInterface ;
12
13
use Magento \Framework \App \Request \Http ;
@@ -63,7 +64,7 @@ private function reconstructUrl($url)
63
64
return [$ url , '' ];
64
65
}
65
66
$ baseUrl = strtok ((string )$ url , '? ' );
66
- $ query = $ this -> request -> getQuery ( )->toArray ();
67
+ $ query = UriFactory:: factory ( $ url )->getQueryAsArray ();
67
68
if (!empty ($ query )) {
68
69
ksort ($ query );
69
70
$ query = http_build_query ($ query );
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Framework \App \PageCache ;
7
7
8
+ use Laminas \Uri \UriFactory ;
8
9
use Magento \Framework \App \ObjectManager ;
9
10
use Magento \Framework \Serialize \Serializer \Json ;
10
11
@@ -74,7 +75,7 @@ private function reconstructUrl($url)
74
75
return [$ url , '' ];
75
76
}
76
77
$ baseUrl = strtok ((string )$ url , '? ' );
77
- $ query = $ this -> request -> getQuery ( )->toArray ();
78
+ $ query = UriFactory:: factory ( $ url )->getQueryAsArray ();
78
79
if (!empty ($ query )) {
79
80
ksort ($ query );
80
81
$ query = http_build_query ($ query );
You can’t perform that action at this time.
0 commit comments