mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #1647] Page crashes when adding host 1f5245c1-e426-5181-9d6d-e4a1b80150a6. #1235
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1235
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ptheofan on GitHub (Dec 13, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1647
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:
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 following
1f5245c1-e426-5181-9d6d-e4a1b80150a6.example.comwill not crash the js)@FreshImmuc commented on GitHub (Dec 22, 2021):
didnt crash my dashboard, may be on your end
@chaptergy commented on GitHub (Dec 23, 2021):
This is due to the nested quantifiers in the regex pattern used to match the strings for selectize. More specifically this seems to be catastrophic backtracing. We would have to use a different regex pattern.
@github-actions[bot] commented on GitHub (Feb 29, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@umutguler commented on GitHub (Feb 16, 2025):
Can confirm it happens when nesting a lot. While nesting too much may look ugly/impractical. It has its use cases & shouldn't cause the page to crash!
@TheFatPanda97 commented on GitHub (Sep 18, 2025):
are there any follow up to this issue? in the current release of npm I am still getting the same issue where if the subdomain is nested more than 3 levels it freezes the entire frontend