diff --git a/ext/uri/php_uri.c b/ext/uri/php_uri.c index 4c5a496c3eec..17278c0f422e 100644 --- a/ext/uri/php_uri.c +++ b/ext/uri/php_uri.c @@ -555,7 +555,7 @@ PHP_METHOD(Uri_Rfc3986_Uri, getRawHost) PHP_METHOD(Uri_Rfc3986_Uri, getPort) { - uri_read_component(INTERNAL_FUNCTION_PARAM_PASSTHRU, URI_PROPERTY_NAME_PORT, URI_COMPONENT_READ_NORMALIZED_ASCII); + uri_read_component(INTERNAL_FUNCTION_PARAM_PASSTHRU, URI_PROPERTY_NAME_PORT, URI_COMPONENT_READ_RAW); } PHP_METHOD(Uri_Rfc3986_Uri, getPath)