Breaks on query strings
-
The JavaScript regex pattern on fancybox.php:235 breaks on query strings added by W3 Total Cache.
\.(jpe?g|png|gif|bmp)$
will not match https://example.com/wp-content/uploads/image.jpg?x12345
while the following does:
\.(jpe?g|png|gif|bmp)\?.+$
- The topic ‘Breaks on query strings’ is closed to new replies.