mirror of
https://github.com/appwrite/appwrite
synced 2026-04-21 21:47:16 +00:00
Move type check before assignment to prevent TypeError when non-string value (like array) is passed to Origin::isValid(). The property \$this->origin is typed as string, so assigning an array before the is_string() check caused the error. |
||
|---|---|---|
| .. | ||
| Auth | ||
| Detector | ||
| Docker | ||
| Event | ||
| Functions/Validator | ||
| General | ||
| GraphQL | ||
| Messaging | ||
| Migration | ||
| Network | ||
| OpenSSL | ||
| Platform/Modules/Compute/Validator | ||
| Task/Validator | ||
| Template | ||
| Transformation | ||
| URL | ||
| Utopia | ||