diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-22 11:38:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 11:38:12 +0200 |
commit | 2f15e83d7beea8df2f03eeb66c7dee45aed033ee (patch) | |
tree | b7e4e5401305ebaef74deb78511a33746546509b /build | |
parent | 938bc57f6dd0d4e6f152692926856263dacc06dd (diff) | |
parent | 75328593ad06cea7b3b0331dec999e6f5a083ef1 (diff) | |
download | nextcloud-server-2f15e83d7beea8df2f03eeb66c7dee45aed033ee.tar.gz nextcloud-server-2f15e83d7beea8df2f03eeb66c7dee45aed033ee.zip |
Merge pull request #34160 from nextcloud/fix/detect-weird-local-ips
Detect weird local ips
Diffstat (limited to 'build')
-rw-r--r-- | build/stubs/intl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/stubs/intl.php b/build/stubs/intl.php index 201db9a33f4..08e0c719338 100644 --- a/build/stubs/intl.php +++ b/build/stubs/intl.php @@ -4622,7 +4622,7 @@ function idn_to_ascii($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, * @param int $variant [optional] <p> * Either INTL_IDNA_VARIANT_2003 for IDNA 2003 or INTL_IDNA_VARIANT_UTS46 for UTS #46. * </p> - * @param int &$idna_info [optional] <p> + * @param array &$idna_info [optional] <p> * This parameter can be used only if INTL_IDNA_VARIANT_UTS46 was used for variant. * In that case, it will be filled with an array with the keys 'result', * the possibly illegal result of the transformation, 'isTransitionalDifferent', @@ -4634,7 +4634,7 @@ function idn_to_ascii($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, * RFC 3490 4.2 states though "ToUnicode never fails. If any step fails, then the original input * sequence is returned immediately in that step." */ -function idn_to_utf8($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, array &$idna_info) { } +function idn_to_utf8($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, array &$idna_info = null) { } /** * (PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)<br/> |