Prevent regex conflict on nginx URLs.
This commit is contained in:
parent
058d62706b
commit
696306cba4
|
@ -34,7 +34,7 @@ final class ConfigWriter implements EventSubscriberInterface
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$listenBaseUrl = CustomUrls::getListenUrl($station);
|
$listenBaseUrl = preg_quote(CustomUrls::getListenUrl($station), null);
|
||||||
$port = $station->getFrontendConfig()->getPort();
|
$port = $station->getFrontendConfig()->getPort();
|
||||||
|
|
||||||
$event->appendBlock(
|
$event->appendBlock(
|
||||||
|
@ -63,8 +63,7 @@ final class ConfigWriter implements EventSubscriberInterface
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$webDjBaseUrl = CustomUrls::getWebDjUrl($station);
|
$webDjBaseUrl = preg_quote(CustomUrls::getWebDjUrl($station), null);
|
||||||
|
|
||||||
$autoDjPort = $station->getBackendConfig()->getDjPort();
|
$autoDjPort = $station->getBackendConfig()->getDjPort();
|
||||||
|
|
||||||
$event->appendBlock(
|
$event->appendBlock(
|
||||||
|
|
Loading…
Reference in New Issue