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 e6000d7 commit cd0ad28Copy full SHA for cd0ad28
app/code/Magento/Config/Model/Config/Backend/Baseurl.php
@@ -202,10 +202,7 @@ private function _validateFullyQualifiedUrl($value)
202
*/
203
private function _isFullyQualifiedUrl($value)
204
{
205
- $url = parse_url($value);
206
-
207
- return isset($url['scheme']) && isset($url['host']) && preg_match('/\/$/', $value)
208
- && $this->getSimpleUrlValidator()->isValid($value);
+ return preg_match('/\/$/', $value) && $this->getSimpleUrlValidator()->isValid($value);
209
}
210
211
/**
@@ -229,7 +226,7 @@ public function afterSave()
229
226
230
227
231
228
232
- * Get link interface factory
+ * Get Simple URL Validator
233
*
234
* @deprecated
235
* @return SimpleValidator
0 commit comments