hashmapinc / hashmapinc/Tempus

Protect the Widget Bundle naming field

Open
#383 0 comments 0 reactions 0 assignees View on GitHub
backlog bug
Dominant language
Java
Stars
32
Forks
11
PR merge metrics
No merged PRs in 30d

Description

If the user provides a name to a widget bundle that represents an illegal javascript variable name after replacing whitespace with underscores, the widgets in the bundle will not work.

EXAMPLE:
Widget Bundle Name: 2D Widgets
Error:
The bundle is created but all widgets are broken, even if you rename the bundle later without deleting it.

Better behavior would be to either fix the way bundles are stored/loaded or at the minimum disallow widget bundle naming that violates valid javascript variable naming (can't start with a number, cannot contain special characters (=/+-!*).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.