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 5649b81 commit 85df47fCopy full SHA for 85df47f
controller/manifest.php
@@ -44,7 +44,7 @@ public function handle(): JsonResponse
44
{
45
// Get the board URL and extract the path component
46
$board_url = generate_board_url();
47
- $board_path = $this->config['force_server_vars'] ? $this->config['script_path'] : (parse_url($board_url)['path'] ?? '');
+ $board_path = $this->config['force_server_vars'] ? $this->config['script_path'] : (parse_url($board_url, PHP_URL_PATH) ?? '');
48
49
// Ensure path ends with '/' for PWA scope
50
$scope = rtrim($board_path, '/\\') . '/';
0 commit comments