nextcloud / nextcloud/ios

IPv6 Address as Server URL

Open
#2,684 3 comments 0 reactions 0 assignees View on GitHub

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
  1. Start process to add a new account
  2. Enter IPv6 as the server URL(i.e. https://[2001:db8:3333:4444:5555:6666:7777:8888])
Expected behaviour

Establish a connection to the server running at the specified IPv6 Address.

Actual behaviour

An error message is shown stating that the URL is invalid.

Screenshots

image

image

Reasoning or why should it be changed/implemented?

There are a two main reasons why it would be nice to be able to enter an IPv6 address. First of all, not everyone has a public IPv4 address. Also IPv6 addresses are not scanned for open ports as regular as IPv4 addresses are. Registering the IP at a DNS provider would also make the IPv6 more exposed.

Environment data

iOS version: 17.1.1

Nextcloud iOS app version: 4.9.2.20

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing account setup with the bracketed IPv6 server URL shown in the issue, then trace where the app validates or parses the server URL. Done means an IPv6 address in the specified form is accepted and the app establishes a connection instead of showing an invalid-URL error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.