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 391ddfb commit b61dc50Copy full SHA for b61dc50
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 = /^[x *\+\-\d\(\)le]*$/;
+ const safeFunc = /^[x */\+\-\d\(\)le]*$/;
133
if (safeFunc.test(userFunc)) {
134
const translatedFunc = userFunc
135
.replaceAll("l", "Math.log")
0 commit comments