nextcloud / nextcloud/external

{uid} cannot be used as hostname

Open
#182 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug good first issue
Dominant language
JavaScript
Stars
132
Forks
43
Avg merge
15m
Merged PRs (30d)
2

Description

Steps to reproduce
  1. set the hostname of the external site to "https://{uid}/"
  2. press [Enter]
Expected behaviour

hostname field should get a green border and save

Actual behaviour

hostname field has a red border and is not saved

Server configuration

PHP version:
7.4
Nextcloud version: (see Nextcloud admin page)
18.0.1
List of activated apps:
external 3.5.0

"https://example.org/{uid}" is working, but not if the variable is used in the hostname part like above.

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

Reproduce the issue in the External sites app using https://{uid}/ as the hostname, then compare it with the working https://example.org/{uid} case. Trace the hostname validation and save flow from the external site configuration UI. Done means the variable is accepted in the hostname, the field shows valid, and the site can be saved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.