We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 515eb5e commit ef84043Copy full SHA for ef84043
lib/internal/Magento/Framework/Url.php
@@ -362,7 +362,13 @@ protected function _getType()
362
protected function _isSecure()
363
{
364
if ($this->_request->isSecure()) {
365
- if($this->getRouteParamsResolver()->hasData('secure')){
+ /**
366
+ * Allow generate programmatically non-secure URL in secure area
367
+ *
368
+ * @see https://github.com/magento/magento2/issues/6175
369
+ * @se https://github.com/magento/magento2/pull/10188
370
+ */
371
+ if ($this->getRouteParamsResolver()->hasData('secure_is_forced')) {
372
return (bool) $this->getRouteParamsResolver()->getData('secure');
373
}
374
return true;
0 commit comments