NginxProxyManager / NginxProxyManager/nginx-proxy-manager
Page crashes when adding host 1f5245c1-e426-5181-9d6d-e4a1b80150a6.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
Describe the bug
Adding a host that uses a UUID v5 for subdomain crashes the page (js).
Nginx Proxy Manager Version
v2.9.12
To Reproduce
Steps to reproduce the behavior:
- Go to proxy hosts (/nginx/proxy) and click to add a new proxy host
- In the domain names paste the following
1f5245c1-e426-5181-9d6d-e4a1b80150a6and type.. The page crashes (javascript gets stuck to infinite loop and eventually chrome asks to kill the page).1f5245c1-e426-5181-9d6d-e4a1b80150a6is a UUID v5 for whatever.example.com (can easily generate more for experimentation from https://www.uuidtools.com/v5). My idea was to put some UUIDv5 as subdomain.
Expected behavior
Continue typing and hit enter to turn it into an entry (tag)
Screenshots


Operating System
Unraid
Additional context
The problem appears to be with selectize. However, because the page crashes it makes it impossible to add the entry.
Workaround: type somewhere the complete host and copy-paste (example, copy-paste the following1f5245c1-e426-5181-9d6d-e4a1b80150a6.example.com will not crash the js)
Contributor guide
No contributing guide indexed for this repository
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 in the frontend proxy-host form reached at /nginx/proxy and investigate the selectize behavior described in the reproduction steps. Reproduce the crash by entering the UUID v5 value followed by a period, then compare it with pasting the complete host. Done means typing and pressing Enter creates the host entry without the page hanging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100