diff --git a/language-snippets.ent b/language-snippets.ent index 8816669f7..080ad8f40 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1,5 +1,5 @@ - + @@ -4457,6 +4457,18 @@ local: { '> + + Los tripletes hexadecimales se convierten a mayúsculas, los caracteres no reservados codificados con porcentaje se decodifican, los componentes de esquema y de host se normalizan a minúsculas y los segmentos de punto se eliminan de la ruta, conforme a la RFC 3986. + +'> + + + Los tripletes hexadecimales no se convierten a mayúsculas, los caracteres no reservados codificados con porcentaje permanecen codificados, los componentes de esquema y de host conservan las mayúsculas y minúsculas con las que se proporcionaron y los segmentos de punto se mantienen en la ruta. + +'> + - + La enumeración Uri\WhatWg\UrlValidationErrorType Uri\WhatWg\UrlValidationErrorType @@ -106,7 +106,7 @@ Ipv4InIpv6InvalidCodePoint - Una dirección IPv6 con sintaxis de dirección IPv4. + Una dirección IPv6 con sintaxis de dirección IPv4: una parte IPv4 está vacía, contiene un dígito no ASCII o un cero inicial, o hay demasiadas partes IPv4. diff --git a/reference/uri/uri/rfc3986/uri/getfragment.xml b/reference/uri/uri/rfc3986/uri/getfragment.xml index 00c368659..6bb4f47db 100644 --- a/reference/uri/uri/rfc3986/uri/getfragment.xml +++ b/reference/uri/uri/rfc3986/uri/getfragment.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getFragment @@ -15,6 +15,7 @@ Recupera el componente de fragmento normalizado. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/gethost.xml b/reference/uri/uri/rfc3986/uri/gethost.xml index ef6dbc1bc..44758b069 100644 --- a/reference/uri/uri/rfc3986/uri/gethost.xml +++ b/reference/uri/uri/rfc3986/uri/gethost.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getHost @@ -15,6 +15,7 @@ Recupera el componente de host normalizado. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/getpassword.xml b/reference/uri/uri/rfc3986/uri/getpassword.xml index 75b0f3ee4..8220bdbee 100644 --- a/reference/uri/uri/rfc3986/uri/getpassword.xml +++ b/reference/uri/uri/rfc3986/uri/getpassword.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getPassword @@ -16,6 +16,7 @@ Recupera la parte de contraseña normalizada (el texto después del primer carácter :) del componente userinfo. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/getpath.xml b/reference/uri/uri/rfc3986/uri/getpath.xml index 084fd56fb..24b0e199c 100644 --- a/reference/uri/uri/rfc3986/uri/getpath.xml +++ b/reference/uri/uri/rfc3986/uri/getpath.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getPath @@ -15,6 +15,7 @@ Recupera el componente de ruta normalizado. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/getquery.xml b/reference/uri/uri/rfc3986/uri/getquery.xml index 59c49a07b..90b735e86 100644 --- a/reference/uri/uri/rfc3986/uri/getquery.xml +++ b/reference/uri/uri/rfc3986/uri/getquery.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getQuery @@ -15,6 +15,7 @@ Recupera el componente de consulta normalizado. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/getrawfragment.xml b/reference/uri/uri/rfc3986/uri/getrawfragment.xml index 3cc517e2f..6a71c6e67 100644 --- a/reference/uri/uri/rfc3986/uri/getrawfragment.xml +++ b/reference/uri/uri/rfc3986/uri/getrawfragment.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawFragment @@ -15,6 +15,7 @@ Recupera el componente de fragmento sin procesar (no normalizado). + &uri.non-normalization; diff --git a/reference/uri/uri/rfc3986/uri/getrawhost.xml b/reference/uri/uri/rfc3986/uri/getrawhost.xml index 1db3b8177..23922f960 100644 --- a/reference/uri/uri/rfc3986/uri/getrawhost.xml +++ b/reference/uri/uri/rfc3986/uri/getrawhost.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawHost @@ -15,6 +15,7 @@ Recupera el componente de host sin procesar (no normalizado). + &uri.non-normalization; diff --git a/reference/uri/uri/rfc3986/uri/getrawpassword.xml b/reference/uri/uri/rfc3986/uri/getrawpassword.xml index 794f8e472..673a7d799 100644 --- a/reference/uri/uri/rfc3986/uri/getrawpassword.xml +++ b/reference/uri/uri/rfc3986/uri/getrawpassword.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawPassword @@ -16,6 +16,7 @@ Recupera la parte de contraseña sin procesar (no normalizada) (el texto después del primer carácter :) del componente userinfo. + &uri.non-normalization; @@ -26,7 +27,7 @@ &reftitle.returnvalues; - Devuelve la contraseña sin procesar (no normalizada) como un &string; si el componente userinfo contiene un carácter :. + Devuelve la contraseña sin procesar como un &string; si el componente userinfo contiene un carácter :. Se devuelve una cadena vacía cuando el componente userinfo no contiene un carácter :. Se devuelve &null; cuando el componente userinfo no existe. diff --git a/reference/uri/uri/rfc3986/uri/getrawpath.xml b/reference/uri/uri/rfc3986/uri/getrawpath.xml index 6ebcbb595..1b12b82f4 100644 --- a/reference/uri/uri/rfc3986/uri/getrawpath.xml +++ b/reference/uri/uri/rfc3986/uri/getrawpath.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawPath @@ -15,6 +15,7 @@ Recupera el componente de ruta sin procesar (no normalizado). + &uri.non-normalization; diff --git a/reference/uri/uri/rfc3986/uri/getrawquery.xml b/reference/uri/uri/rfc3986/uri/getrawquery.xml index 78ad5cf3f..1ccafc5ae 100644 --- a/reference/uri/uri/rfc3986/uri/getrawquery.xml +++ b/reference/uri/uri/rfc3986/uri/getrawquery.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawQuery @@ -15,6 +15,7 @@ Recupera el componente de consulta sin procesar (no normalizado). + &uri.non-normalization; diff --git a/reference/uri/uri/rfc3986/uri/getrawscheme.xml b/reference/uri/uri/rfc3986/uri/getrawscheme.xml index 32d75bd5e..eee2d7cc9 100644 --- a/reference/uri/uri/rfc3986/uri/getrawscheme.xml +++ b/reference/uri/uri/rfc3986/uri/getrawscheme.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawScheme @@ -15,6 +15,7 @@ Recupera el componente de esquema sin procesar (no normalizado). + &uri.non-normalization; diff --git a/reference/uri/uri/rfc3986/uri/getrawuserinfo.xml b/reference/uri/uri/rfc3986/uri/getrawuserinfo.xml index 617839710..cf410e114 100644 --- a/reference/uri/uri/rfc3986/uri/getrawuserinfo.xml +++ b/reference/uri/uri/rfc3986/uri/getrawuserinfo.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawUserInfo @@ -15,6 +15,7 @@ Recupera el componente userinfo sin procesar (no normalizado). + &uri.non-normalization; diff --git a/reference/uri/uri/rfc3986/uri/getrawusername.xml b/reference/uri/uri/rfc3986/uri/getrawusername.xml index f7c1fe5f5..46bfe21fa 100644 --- a/reference/uri/uri/rfc3986/uri/getrawusername.xml +++ b/reference/uri/uri/rfc3986/uri/getrawusername.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getRawUsername @@ -16,6 +16,7 @@ Recupera la parte del nombre de usuario sin procesar (no normalizado) (el texto antes del primer carácter :) del componente userinfo. + &uri.non-normalization; @@ -26,7 +27,7 @@ &reftitle.returnvalues; - Devuelve el nombre de usuario sin procesar (no normalizado) como un &string; si el componente userinfo existe; de lo contrario, se devuelve &null;. + Devuelve el nombre de usuario sin procesar como un &string; si el componente userinfo existe; de lo contrario, se devuelve &null;. diff --git a/reference/uri/uri/rfc3986/uri/getscheme.xml b/reference/uri/uri/rfc3986/uri/getscheme.xml index 7e5d44797..301e46a4b 100644 --- a/reference/uri/uri/rfc3986/uri/getscheme.xml +++ b/reference/uri/uri/rfc3986/uri/getscheme.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getScheme @@ -15,6 +15,7 @@ Recupera el componente de esquema normalizado. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/getuserinfo.xml b/reference/uri/uri/rfc3986/uri/getuserinfo.xml index e172d5a64..19e9cb254 100644 --- a/reference/uri/uri/rfc3986/uri/getuserinfo.xml +++ b/reference/uri/uri/rfc3986/uri/getuserinfo.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getUserInfo @@ -15,6 +15,7 @@ Recupera el componente userinfo normalizado. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/getusername.xml b/reference/uri/uri/rfc3986/uri/getusername.xml index 261360bb3..5ac3b292c 100644 --- a/reference/uri/uri/rfc3986/uri/getusername.xml +++ b/reference/uri/uri/rfc3986/uri/getusername.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::getUsername @@ -16,6 +16,7 @@ Recupera la parte del nombre de usuario normalizado (el texto antes del primer carácter :) del componente userinfo. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/parse.xml b/reference/uri/uri/rfc3986/uri/parse.xml index 1223c7825..c4396695d 100644 --- a/reference/uri/uri/rfc3986/uri/parse.xml +++ b/reference/uri/uri/rfc3986/uri/parse.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::parse @@ -57,6 +57,7 @@ ]]> &example.outputs; diff --git a/reference/uri/uri/rfc3986/uri/resolve.xml b/reference/uri/uri/rfc3986/uri/resolve.xml index a028454db..cbd4287f2 100644 --- a/reference/uri/uri/rfc3986/uri/resolve.xml +++ b/reference/uri/uri/rfc3986/uri/resolve.xml @@ -1,9 +1,9 @@ - + Uri\Rfc3986\Uri::resolve - Resuelve una URI con el objeto actual como URL base + Resuelve una URI con el objeto actual como URI base @@ -13,7 +13,7 @@ stringuri - Resuelve una URI - que puede ser potencialmente una referencia relativa - con el objeto actual como URL base. + Resuelve una URI - que puede ser potencialmente una referencia relativa - con el objeto actual como URI base. @@ -50,11 +50,11 @@ resolve("/foo"); echo $uri->toRawString(); -?> ]]> &example.outputs; diff --git a/reference/uri/uri/rfc3986/uri/torawstring.xml b/reference/uri/uri/rfc3986/uri/torawstring.xml index 6149c7539..3429fcabd 100644 --- a/reference/uri/uri/rfc3986/uri/torawstring.xml +++ b/reference/uri/uri/rfc3986/uri/torawstring.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::toRawString @@ -15,6 +15,12 @@ Recompone la URI sin procesar (no normalizada) en un &string;. + &uri.non-normalization; + + Un host IPv6 constituye una excepción: se recompone a partir de su forma + analizada y, por lo tanto, se devuelve completamente expandido y en + minúsculas, independientemente de la notación utilizada en la entrada. + @@ -25,7 +31,7 @@ &reftitle.returnvalues; - Devuelve la URI recompuesta sin procesar (no normalizada) como un &string;. + Devuelve la URI recompuesta sin procesar como un &string;. diff --git a/reference/uri/uri/rfc3986/uri/tostring.xml b/reference/uri/uri/rfc3986/uri/tostring.xml index 2474329fb..cfb0b09ff 100644 --- a/reference/uri/uri/rfc3986/uri/tostring.xml +++ b/reference/uri/uri/rfc3986/uri/tostring.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::toString @@ -15,6 +15,7 @@ Recompone la URI normalizada en un &string;. + &uri.normalization; diff --git a/reference/uri/uri/rfc3986/uri/withfragment.xml b/reference/uri/uri/rfc3986/uri/withfragment.xml index e1efc848e..0dd9b3fd2 100644 --- a/reference/uri/uri/rfc3986/uri/withfragment.xml +++ b/reference/uri/uri/rfc3986/uri/withfragment.xml @@ -1,5 +1,5 @@ - + Uri\Rfc3986\Uri::withFragment @@ -50,11 +50,11 @@ withFragment("bar"); echo $uri->getFragment(); -?> ]]> &example.outputs; diff --git a/reference/uri/uri/whatwg/url/construct.xml b/reference/uri/uri/whatwg/url/construct.xml index 2531ed534..e887ac393 100644 --- a/reference/uri/uri/whatwg/url/construct.xml +++ b/reference/uri/uri/whatwg/url/construct.xml @@ -1,5 +1,5 @@ - + Uri\WhatWg\Url::__construct @@ -15,7 +15,7 @@ arraysoftErrors&null; - Construye el objeto Uri\Rfc3986\Uri. + Construye el objeto Uri\WhatWg\Url. @@ -26,7 +26,10 @@ uri - Una cadena de URL válida a analizar (por ejemplo, /foo o https://example.com/foo). + Una cadena de URL a analizar, por ejemplo + https://example.com/foo. Una cadena de URL relativa como + /foo solo se acepta cuando se proporciona + baseUrl. diff --git a/reference/uri/uri/whatwg/url/getasciihost.xml b/reference/uri/uri/whatwg/url/getasciihost.xml index 5e8f81425..30273e3cb 100644 --- a/reference/uri/uri/whatwg/url/getasciihost.xml +++ b/reference/uri/uri/whatwg/url/getasciihost.xml @@ -1,5 +1,5 @@ - + Uri\WhatWg\Url::getAsciiHost @@ -36,16 +36,16 @@ getAsciiHost(); -?> ]]> &example.outputs; diff --git a/reference/uri/uri/whatwg/url/parse.xml b/reference/uri/uri/whatwg/url/parse.xml index 6c0a62d91..5bf21ad44 100644 --- a/reference/uri/uri/whatwg/url/parse.xml +++ b/reference/uri/uri/whatwg/url/parse.xml @@ -1,5 +1,5 @@ - + Uri\WhatWg\Url::parse @@ -26,7 +26,10 @@ uri - Una cadena de URL válida a analizar (p.ej. /foo o (p.ej. https://example.com/foo). + Una cadena de URL a analizar, por ejemplo + https://example.com/foo. Una cadena de URL relativa como + /foo solo se acepta cuando se proporciona + baseUrl. @@ -68,6 +71,7 @@ ]]> &example.outputs; diff --git a/reference/uri/uri/whatwg/url/resolve.xml b/reference/uri/uri/whatwg/url/resolve.xml index 3197ba192..c90d1d8b2 100644 --- a/reference/uri/uri/whatwg/url/resolve.xml +++ b/reference/uri/uri/whatwg/url/resolve.xml @@ -1,5 +1,5 @@ - + Uri\WhatWg\Url::resolve @@ -25,7 +25,7 @@ uri - Una cadena de URL válida (p.ej. /foo o (p.ej. https://example.com/foo) a aplicar sobre + Una cadena de URL válida (p.ej. /foo o https://example.com/foo) a aplicar sobre el objeto actual. diff --git a/reference/uri/uri/whatwg/url/toasciistring.xml b/reference/uri/uri/whatwg/url/toasciistring.xml index fddadbca9..11d3fc4e9 100644 --- a/reference/uri/uri/whatwg/url/toasciistring.xml +++ b/reference/uri/uri/whatwg/url/toasciistring.xml @@ -1,5 +1,5 @@ - + Uri\WhatWg\Url::toAsciiString @@ -37,16 +37,16 @@ toAsciiString(); -?> ]]> &example.outputs; diff --git a/reference/uri/uri/whatwg/url/tounicodestring.xml b/reference/uri/uri/whatwg/url/tounicodestring.xml index 47ae5857c..9787d7771 100644 --- a/reference/uri/uri/whatwg/url/tounicodestring.xml +++ b/reference/uri/uri/whatwg/url/tounicodestring.xml @@ -1,5 +1,5 @@ - + Uri\WhatWg\Url::toUnicodeString @@ -36,16 +36,16 @@ toUnicodeString(); -?> ]]> &example.outputs; diff --git a/reference/uri/uri/whatwg/url/unserialize.xml b/reference/uri/uri/whatwg/url/unserialize.xml index 6faaf1bb2..91fed1231 100644 --- a/reference/uri/uri/whatwg/url/unserialize.xml +++ b/reference/uri/uri/whatwg/url/unserialize.xml @@ -1,9 +1,9 @@ - + Uri\WhatWg\Url::__unserialize - Deserializa el parámetro data en un objeto Url + Deserializa el array del parámetro data en un objeto Url @@ -13,7 +13,7 @@ arraydata - Deserializa un parámetro data en un objeto Uri\WhatWg\Url. + Deserializa el &array; del parámetro data en un objeto Uri\WhatWg\Url.