Skip to content

New code snippet was blocked on jsperf.com by Cloudflare #345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mhkrebs opened this issue Feb 11, 2017 · 2 comments
Closed

New code snippet was blocked on jsperf.com by Cloudflare #345

mhkrebs opened this issue Feb 11, 2017 · 2 comments

Comments

@mhkrebs
Copy link

mhkrebs commented Feb 11, 2017

I tried to add a code snippet to https://jsperf.com/string-concatenation/47/edit and was blocked for some reason:

Sorry, you have been blocked
You are unable to access jsperf.com

Here's what I tried to add:

Title: Template literal
Code: var foo = `${str1}${str2}${str3}{$str4}`;

The page suggested I should contact the site owner and include "Cloudflare Ray ID: 32f7e5954eff2aa9". If this issue should be filed someplace else, please let me know, but this seemed like a reasonable place.

As an aside, it wasn't clear to me if newer Javascript standards were allowed (the above is ES6). Might be worth a FAQ entry either way.

@mathiasbynens
Copy link
Contributor

jsPerf doesn’t restrict the code you can enter in any way. ES2015 is definitely allowed.

I’m closing this as the reported issue is a false positive with Cloudflare filter. I’ll look into reducing the aggressiveness of our Cloudflare settings.

@vanowm
Copy link

vanowm commented Nov 7, 2018

I just got blocked message as well, when I had () in snippet titles. After removing parenthesis it went through.

[EDIT]
Actually, it's more specific string that being blocked: concat()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants