-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbugfeature: federationfeature: language/translations (l10n/i18n)Localization and translation mattersLocalization and translation matters
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Impossible to add server with non-ascii name to federation.
Steps to reproduce
- find nextcloud server with non-ascii hostname
- try to add it as trusted server
- got error and No DNS record found for in logs
Expected behavior
Server successfully added to trusted list
Nextcloud Server version
31
Operating system
Other
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Changing (partially reverting a907b74 )
in file
lib/private/Http/Client/DnsPinMiddleware.php
in function addDnsPinning
$targetIps = $this->dnsResolve(idn_to_utf8($hostName), 0)
to
$targetIps = $this->dnsResolve($hostName, 0)
allows to connect add server by entering "punycoded" (ascii) name.
Very brief test revealed no problems after this change.
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbugfeature: federationfeature: language/translations (l10n/i18n)Localization and translation mattersLocalization and translation matters