David C Rankin <[email protected]> on Wed, 2025/12/10 00:36: > On 12/9/25 6:14 AM, Christian Hesse wrote: > > David C Rankin <[email protected]> on Mon, 2025/12/08 21:38: > >> Call to undefined function OC\\Security\\idn_to_utf8() in file > >> /usr/share/webapps/nextcloud/lib/private/Security/RemoteHostValidator.php > >> line 38 > > > > Wondering if this is related to the update of libidn2 [0]. That should not > > bring any breaking changes, though. > > I have to admit, I'm not smart enough to immediately see how the > change to libidn2 would translate into PHP not being able to find what I > guess is a PHP function? One thing I don't really have experience with > is the internals of Nextcloud as far as the code goes.
Well, the function name contains the literal string "idn", and I did update
libidn2 in a time frame that would match. I rang a bell for me. Actually I
have no idea if php uses libidn2 at all.
On a quick dig... Looks like no.
The intl module (/usr/lib/php/modules/intl.so) provides the function
`idn_to_utf8()`, and the module is linked against icu libraries.
All that looks fine I guess.
A shot into the blue... Is it possible that the intl modules is not loaded?
Changes in php.ini required?
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];)
putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
pgpmBAm78lWUH.pgp
Description: OpenPGP digital signature
