nextcloud / nextcloud/external
{uid} cannot be used as hostname
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 132
- Forks
- 43
- Avg merge
- 15m
- Merged PRs (30d)
- 2
Description
Steps to reproduce
- set the hostname of the external site to "https://{uid}/"
- 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
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
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