Skip to content

Restore Test-IsEmail and Test-IsUrl from staging and export them through the module. - #10

Closed
PsCustomObject wants to merge 2 commits into
masterfrom
modernization/email-url-validation
Closed

PsCustomObject wants to merge 2 commits into
masterfrom
modernization/email-url-validation

Conversation

@PsCustomObject

Copy link
Copy Markdown
Owner

Preserve email parameter aliases and HTTP/HTTPS/FTP/FTPS support.

Validate common bare email addresses, including internationalized domains, with explicit length limits.

Replace the URL regex with structured parsing that supports ports, queries, fragments and IPv6.

Return one boolean per pipeline input without network calls.

Update documentation, export tests and the staging inventory.

Email validation intentionally excludes display names, comments, quoted local parts and Unicode local parts. URL validation checks syntax rather than reachability or safety.

Validation: all 205 tests passed on Linux with PowerShell 7.4.13, including 96 new validator tests. The patch applies cleanly to master after PR #9. Windows and macOS CI verification remains pending.

@PsCustomObject

Copy link
Copy Markdown
Owner Author

This is already been pushed/merged into master - closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant