Skip to content

Fixed InternetAddress::fromString always failing#94

Merged
kelunik merged 1 commit intoamphp:v2from
Bilge:fix-InternetAddress-fromString
Oct 10, 2022
Merged

Fixed InternetAddress::fromString always failing#94
kelunik merged 1 commit intoamphp:v2from
Bilge:fix-InternetAddress-fromString

Conversation

@Bilge
Copy link
Copy Markdown
Contributor

@Bilge Bilge commented Oct 3, 2022

InternetAddress::fromString always failed to validate because it included the colon in the port. Also added a unit test for this method.

Added unit test for InternetAddress::fromString.
@kelunik kelunik merged commit 3c794e1 into amphp:v2 Oct 10, 2022
@kelunik
Copy link
Copy Markdown
Member

kelunik commented Oct 10, 2022

Thanks!

@Bilge Bilge deleted the fix-InternetAddress-fromString branch October 10, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants