validateUrl($source) || !$this->validateUrl($target)) { return; } // Validate that the webmention target is a domain I care about if (!str_contains($target, "https://lewisdale.dev")) { // Should throw a Bad Request error return; } // Parse content from the source // Store the webmention // Send the appropriate response } }