Connection Problem with domain containing non ASCII characters
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- host nextcloud on a domain containing unicode but non ASCII character like "ä" for example
- try to connect with the ios app (browser works btw)
- Error 400
Expected behaviour
It should automatically convert the IDN to puny code and connect. This is working on Windows and Android.
Actual behaviour
It does not connect. If the domain is entered in punycode notation it works.
Reasoning or why should it be changed/implemented?
This is working on Windows and Android. IDNs are more than a decode old so it should be suppoorted by now.
Environment data
iOS version: 14
Nextcloud iOS app version: freshly installed
Server operating system: Ubuntu 20 LTS
Web server: Apache
Database: mariaDB
PHP version: 7.4
Nextcloud version: 21.0.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the connection failure in the iOS app with a Unicode domain, then trace the app's connection and URL handling. Done means an IDN is converted to punycode automatically and the app connects successfully, matching the existing Windows and Android behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100