Question #185835 on Graphite changed:
https://answers.launchpad.net/graphite/+question/185835
Status: Open => Answered
Daniel Lawrence proposed the following answer:
Looks like the regex has been changed in
/opt/graphite/webapp/content/js/composer_widgets.js to remove the space
in accepted chars.
If you change line 326 in
/opt/graphite/webapp/content/js/composer_widgets.js from
if (text.search(/[^A-Za-z0-9_.]/) != -1) {
to (adding a space after the . and before the ]
if (text.search(/[^A-Za-z0-9_. ]/) != -1) {
It should start to work as expected... i am not if this has been done on
purpose or is a bug.
If its been done on purpose then need to update the error message on
line 326 in /opt/graphite/webapp/content/js/composer_widgets.js to
include the fact that a space is invalid input.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.
_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp