08-Mar-2024, 06:27 PM
Hello friends!
In the latest version, URLs with umlauts are not being processed correctly:
For example:
https://abcdefg.de/aaaaaaa is fine
https://abcdefg.de/äääääää ERROR
The issue lies within:
comments/system/library/url.php
returns false for URLs with umlauts
For testing purposes:
works
URLs need to be preprocessed before validation
Cu Michael
In the latest version, URLs with umlauts are not being processed correctly:
For example:
https://abcdefg.de/aaaaaaa is fine
https://abcdefg.de/äääääää ERROR
The issue lies within:
comments/system/library/url.php
Code:
if (filter_var($url, FILTER_VALIDATE_URL)) {
returns false for URLs with umlauts
For testing purposes:
Code:
// if (filter_var($url, FILTER_VALIDATE_URL)) {
if (true) { // add
works
URLs need to be preprocessed before validation
Cu Michael