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.
2 parents 6010582 + 257fe2a commit 2f2a1faCopy full SHA for 2f2a1fa
src/Vectorface/SnappyRouter/Handler/ControllerHandler.php
@@ -158,7 +158,7 @@ public function setEncoder(EncoderInterface $encoder)
158
*/
159
protected function extractPathFromBasePath($path, $options)
160
{
161
- if (isset($options[self::KEY_BASE_PATH])) {
+ if (!empty($options[self::KEY_BASE_PATH])) {
162
$pos = strpos($path, $options[self::KEY_BASE_PATH]);
163
if (false !== $pos) {
164
$path = substr($path, $pos + strlen($options[self::KEY_BASE_PATH]));
0 commit comments