Skip to content

Commit de8f2b8

Browse files
author
Oleksii Korshenko
committed
MAGETWO-70591: magento/magento2:#6175 Fixed Unable to generate unsecure URL if current URL is secure #10188
- changed flag to _secure
1 parent ef84043 commit de8f2b8

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ protected function _isSecure()
368368
* @see https://github.com/magento/magento2/issues/6175
369369
* @se https://github.com/magento/magento2/pull/10188
370370
*/
371-
if ($this->getRouteParamsResolver()->hasData('secure_is_forced')) {
371+
if ($this->getRouteParamsResolver()->hasData('secure')) {
372372
return (bool) $this->getRouteParamsResolver()->getData('secure');
373373
}
374374
return true;

0 commit comments

Comments
 (0)