I decided the cleanest approach here was to add some regex in the entity setters to just strip out the '/' from any actuator prefix being added. My reasoning here was
Wanted to add as few code changes as possible, doing this sanitation on the client side would have touched several functions in a few js files and modifying some html too.
Any update/create/save action is going to hit here at some point, so I know I wont miss correcting the prefix anywhere
Stripping out the '/' keeps it simple for the user, and to the application it is unneeded as it gets prepended to the actuator prefix by the html code. (see > instances.html, line 194)
Related issue here
I decided the cleanest approach here was to add some regex in the entity setters to just strip out the '/' from any actuator prefix being added. My reasoning here was