Non-ascii tag on site breaks tag listing and home page #3231

Closed
opened 2025-12-29 18:26:54 +01:00 by adam · 1 comment
Owner

Originally created by @dare-to-recurse on GitHub (Jan 28, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.7.2

Steps to Reproduce

  1. Create site with name Demo Site
  2. Edit "Demo Site", tag it with länk
  3. Navigate to Organization > Tags

Expected Behavior

To see the listing of tags or home page

Observed Behavior

Server error with the following message

<class 'django.urls.exceptions.NoReverseMatch'>

Reverse for 'tag' with arguments '('länk',)' not found. 1 pattern(s) tried: ['extras\\/tags\\/(?P<slug>[-a-zA-Z0-9_]+)\\/$']
Originally created by @dare-to-recurse on GitHub (Jan 28, 2020). ### Environment * Python version: 3.6.8 * NetBox version: 2.7.2 ### Steps to Reproduce 1. Create site with name Demo Site 2. Edit "Demo Site", tag it with länk 3. Navigate to Organization > Tags ### Expected Behavior To see the listing of tags or home page ### Observed Behavior Server error with the following message ``` <class 'django.urls.exceptions.NoReverseMatch'> Reverse for 'tag' with arguments '('länk',)' not found. 1 pattern(s) tried: ['extras\\/tags\\/(?P<slug>[-a-zA-Z0-9_]+)\\/$'] ```
adam added the type: bugstatus: accepted labels 2025-12-29 18:26:54 +01:00
adam closed this issue 2025-12-29 18:26:54 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 28, 2020):

This was missed in the work on #3721. We need to extend the URL pattern to match Unicode characters in the slug.

@jeremystretch commented on GitHub (Jan 28, 2020): This was missed in the work on #3721. We need to extend the URL pattern to match Unicode characters in the slug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3231