observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Tag naming too permissive with some non-alphanumeric characters #572

Open mxfh opened 1 year ago

mxfh commented 1 year ago

Describe the bug Some characters like \~ and = are not prohibited from being created as part of tagname strings.

Additionally the tag is present, but can't be listed and not accessed via the url scheme like other tags.

To Reproduce Steps to reproduce the behavior:

  1. Go to any notebook

  2. Click on add tags

  3. Enter input text with non-alphanumerical character like +=~`^|

  4. See error

Screenshot 2023-05-01 at 1 10 07 AM

Tested Enviroment macOS 13.2.1 Chrome 112.0.5615.137

not tested with characters outside of ASCII range

Expected behavior Input should be rejected as with other non-alphanumericals

Example https://observablehq.com/@mxfh/h3-oddities