We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf9769 commit 9dea0caCopy full SHA for 9dea0ca
src/ui/url_hash_binding.ts
@@ -129,7 +129,7 @@ export class UrlHashBinding extends RefCounted {
129
if (stateString !== this.prevStateString) {
130
this.prevStateString = stateString;
131
const userFunc = this.viewer.urlHashRateLimit.value;
132
- const safeFunc = /^[xelogmaxin */\+\-\d\(\)]*$/;
+ const safeFunc = /^[xelogmaxin ,*/\+\-\d\(\)]*$/;
133
if (safeFunc.test(userFunc)) {
134
const translatedFunc = userFunc
135
.replaceAll("log", "Math.log")
0 commit comments