wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Minify JS - Exclude Cloudflare Turnstile JS file by default

Open WordPresseur opened this issue 2 years ago • 1 comments

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version ✅
  • Used the search feature to ensure that the bug hasn’t been reported before ✅

Describe the bug Our Minify JS feature modifies: https://challenges.cloudflare.com/turnstile/v0/g/xxxxxxxxxx/api.js into: https://www.example.com/wp-content/cache/min/1/turnstile/v0/api.js

It breaks the Cloudflare feature.

Excluding https://challenges.cloudflare.com/turnstile/ addresses the issue.

Expected behavior Cloudflare Turnstile should work with no issue

Additional context HS Ticket

Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming

WordPresseur avatar Nov 13 '23 10:11 WordPresseur

@WordPresseur Wouldn't it go directly to the backend?

piotrbak avatar Nov 15 '23 14:11 piotrbak

@WordPresseur @piotrbak Why is this issue still open? Can we proceed to add to the backend to close it?

benorfaz avatar Jul 09 '24 13:07 benorfaz

Was added, closing ticket.

benorfaz avatar Jul 11 '24 15:07 benorfaz