Skip to content

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

@ptheofan

Description

@ptheofan

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions