J5.x

Behavior change for Uri::isInternal for URLs without protocol/nl: Difference between revisions

From Joomla! Documentation

Created page with "J5.x:Gedragsverandering voor Uri::isInternal voor URL's zonder protocol"
 
Created page with "Biedt absolute URL's aan, die het scheme/protocol bevatten of gebruik relatieve URL's."
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
<!-- Start with an intro below this line -->
<!-- Start with an intro below this line -->


<span lang="en" dir="ltr" class="mw-content-ltr">==Errors reported==</span> <!-- Fill errors below -->
==Gerapporteerde fouten== <!-- Fill errors below -->
<div lang="en" dir="ltr" class="mw-content-ltr">
Deze release van Joomla 5.1.3 en 4.4.7 veranderde hoe Uri::isInternal URL's zonder  scheme/protocol afhandelt. Dat kan leiden tot verwijzingen, die voorheen werkten die nu na de update kapot lopen.
This release for Joomla 5.1.3 and 4.4.7 changed how Uri::isInternal handles URLs without scheme/protocol. That might lead to redirects, that previously worked, to break after the update.
</div>


<span lang="en" dir="ltr" class="mw-content-ltr">==Versions affected==</span> <!--refers to and other information below -->
==Getroffen versies== <!--refers to and other information below -->
<span lang="en" dir="ltr" class="mw-content-ltr">{{tip|This pertains only to Joomla! version(s): '''5.1.3''', '''4.4.7'''|title=General Information}}</span> <!-- add the version(s) you need -->
{{tip|Dit geldt alleen voor Joomla! versie(s): '''5.1.3''' en '''4.4.7'''|title=Algemene informatie}} <!-- add the version(s) you need -->


<span lang="en" dir="ltr" class="mw-content-ltr">==What is the cause==</span> <!-- Cause if known -->
==Wat is de reden== <!-- Cause if known -->
<span lang="en" dir="ltr" class="mw-content-ltr">The Uri::isInternal method considered URLs containing a valid hostname but not a scheme ("www.example.org") as internal URLs. This behavior caused multiple attack vectors. With this release, the behavior has been changed. URLs containg a valid hostname will only be considered internal if the scheme ("https://") is provided in the method call and the scheme matches the currently used scheme of the request.</span>
De Uri::isInternal methode beschouwt URL's die een valide hostnaam bevatten maar geen scheme ("www.example.org") als interne URL's. Dit gedrag veroorzaakte  multiple attack vectors. In deze release is het gedrag veranderd. URL's die een valide hostname bevatten zullen alleen intern worden beschouwd als het scheme ("https://") bevat in de method aanroep en het scheme overeenkomt met het huidige scheme van de aanroep.


<span lang="en" dir="ltr" class="mw-content-ltr">==How to fix==</span> <!-- How to fix it if known -->
==Hoe oplossen== <!-- How to fix it if known -->


<span lang="en" dir="ltr" class="mw-content-ltr">Provide absolute URLs including the scheme/protocol or use relative URLs.</span>
Biedt absolute URL's aan, die het scheme/protocol bevatten of gebruik relatieve URL's.


<noinclude>
<noinclude>

Latest revision as of 08:10, 21 August 2024

Gerapporteerde fouten

Deze release van Joomla 5.1.3 en 4.4.7 veranderde hoe Uri::isInternal URL's zonder scheme/protocol afhandelt. Dat kan leiden tot verwijzingen, die voorheen werkten die nu na de update kapot lopen.

Getroffen versies

Algemene informatie

Dit geldt alleen voor Joomla! versie(s): 5.1.3 en 4.4.7

Wat is de reden

De Uri::isInternal methode beschouwt URL's die een valide hostnaam bevatten maar geen scheme ("www.example.org") als interne URL's. Dit gedrag veroorzaakte multiple attack vectors. In deze release is het gedrag veranderd. URL's die een valide hostname bevatten zullen alleen intern worden beschouwd als het scheme ("https://") bevat in de method aanroep en het scheme overeenkomt met het huidige scheme van de aanroep.

Hoe oplossen

Biedt absolute URL's aan, die het scheme/protocol bevatten of gebruik relatieve URL's.