You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mezzio\Cors\Exception\InvalidOriginValueException raised in file /vendor/mezzio/mezzio-cors/src/Exception/InvalidOriginValueException.php in line 21 with message: Provided Origin "capacitor://localhost" is invalid.
Q
A
Version(s)
1.3.0
Summary
While running IOS Simulator in XCode, An Exception is raised from the mezzio-cors package.
Current behavior
The exception is raised on every request comes from the cliend side (XCode Simulator). mezzio-cors claims that capacitor://localhost is invalid origin
How to reproduce
in pipeline.php
use Mezzio\Cors\Middleware\CorsMiddleware;
$app->pipe(CorsMiddleware::class);
Expected behavior
Should be able to add the capacitor://localhost to the allowed origins
Bug Report
Mezzio\Cors\Exception\InvalidOriginValueException raised in file /vendor/mezzio/mezzio-cors/src/Exception/InvalidOriginValueException.php in line 21 with message: Provided Origin "capacitor://localhost" is invalid.
Summary
While running IOS Simulator in XCode, An Exception is raised from the mezzio-cors package.
Current behavior
The exception is raised on every request comes from the cliend side (XCode Simulator). mezzio-cors claims that capacitor://localhost is invalid origin
How to reproduce
in pipeline.php
Expected behavior
Should be able to add the capacitor://localhost to the allowed origins
PS. This is my first bug report ;)
The text was updated successfully, but these errors were encountered: