Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/zend-uri-ipv6-support' of https://github.com/she…
Browse files Browse the repository at this point in the history
…vron/zf2 into hotfix/zf2-366
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Http extends Uri
/**
* @see Uri::$validHostTypes
*/
protected $validHostTypes = self::HOST_DNSORIPV4;
protected $validHostTypes = self::HOST_DNSORIPV6;

/**
* User name as provided in authority of URI
Expand Down
1 change: 1 addition & 0 deletions src/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Uri
const HOST_IPVANY = 7;
const HOST_DNSNAME = 8;
const HOST_DNSORIPV4 = 9;
const HOST_DNSORIPV6 = 10;
const HOST_REGNAME = 16;
const HOST_ALL = 31;

Expand Down

0 comments on commit c32640e

Please sign in to comment.