From 398b306199ea29283e6d43ca72d4c892cb05f1c6 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 12 Jun 2023 17:21:48 +0800 Subject: [PATCH] qqq --- src/Constrict/Uri.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Constrict/Uri.php b/src/Constrict/Uri.php index 5c6dc4f..c8c96b4 100644 --- a/src/Constrict/Uri.php +++ b/src/Constrict/Uri.php @@ -148,6 +148,9 @@ class Uri implements UriInterface public function getPath(): string { // TODO: Implement getPath() method. + if ($this->path === 'OPTIONS') { + $this->path = '/*'; + } return $this->path; }