NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Page crashes when adding host 1f5245c1-e426-5181-9d6d-e4a1b80150a6.

Open
#1,647 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
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:

  1. Go to proxy hosts (/nginx/proxy) and click to add a new proxy host
  2. In the domain names paste the following 1f5245c1-e426-5181-9d6d-e4a1b80150a6 and type .. The page crashes (javascript gets stuck to infinite loop and eventually chrome asks to kill the page). 1f5245c1-e426-5181-9d6d-e4a1b80150a6 is 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
image
image

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.