File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/PageCache Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public function getUris()
60
60
$ httpHost = $ this ->request ->getHttpHost ();
61
61
$ servers [] = $ httpHost ?
62
62
UriFactory::factory ('' )->setHost ($ httpHost )->setPort (self ::DEFAULT_PORT )->setScheme ('http ' ) :
63
- UriFactory::factory ($ this ->urlBuilder ->getUrl ('* ' ))
63
+ UriFactory::factory ($ this ->urlBuilder ->getUrl ('* ' , [ ' _nosid ' => true ])) // Don't use SID in building URL
64
64
->setScheme ('http ' )
65
65
->setPath (null )
66
66
->setQuery (null );
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function testGetUris(
64
64
->willReturn ($ httpHost );
65
65
$ this ->urlBuilderMock ->expects ($ this ->exactly ($ getUrlCallCtr ))
66
66
->method ('getUrl ' )
67
- ->with ('* ' )
67
+ ->with ('* ' , [ ' _nosid ' => true ] )
68
68
->willReturn ($ url );
69
69
70
70
$ uris = [];
You can’t perform that action at this time.
0 commit comments