BBQ Blocking ajax-request
-
I am getting this error Failed to load resource: the server responded with a status of 403 () /?ajax-request=jnews
Is there a way to allow ajax-request
-
Yes it is possible to add/remove patterns, here is a guide that explains it.
-
This reply was modified 4 years ago by
Jeff Starr.
Im not quite sure what to do. In the article this is this url: https://example.com/page/?referer=https://example.org/
and im assuming the article is saying the url is blocked by the second ‘ : ‘ which is referer=http:
This is would be mean this: ‘\/http\:’, ‘\:\/\/’ will = http:\\
However, my url would be https://mysite.com/?ajax-request=jnews. Where is the pattern to escape here?
Is this for the free version of BBQ? If so, the plugin does not block anything “ajax” related. The string “ajax” does not exist anywhere in the firewall rules. So I’m guessing something else is involved here, as BBQ does not block requests like
/?ajax-request=jnews
Yes, the free version of BBQ. Once deactivated, the 403 error
Failed to load resource: the server responded with a status of 403 () /?ajax-request=jnews
doesnt come up and the load more buttons work. Once activated, the issue occurs.-
This reply was modified 4 years ago by
ab473code.
The Ajax request probably is sending/receiving data, something in the data itself that is getting blocked. One way of taking a look is to use your browser’s code inspector to view the actual data that is sent/received with the Ajax call. Something in there is getting blocked. It’s not the request URL
/?ajax-request=jnews
.The only data I can see that is being received is an object with html codes inside which basically contains this:
{"content":"<article class=\"jeg_post jeg_pl_lg_2 format-standard\">\n <div class=\"jeg_thumb\">\n <a class=\"jnews-edit-post right\" href=\"https:\/\/www.mysite.com\/wp-admin\/post.php?post=78702&action=edit&classic-editor\" target=\"_blank\">\n <i class=\"fa fa-pencil\"><\/i>\n <span>edit post<\/span>\n <\/a>\n <a href=\"https:\/\/www.mysite.com\/2021\/03\/post-or-article-name-goes-here-2021\/\"><div class=\"thumbnail-container animate-lazy size-715 \"><img width=\"900\" height=\"636\" src=\"https:\/\/www.mysite.com\/wp-content\/themes\/jnews\/assets\/img\/jeg-empty.png\" class=\"attachment-jnews-350x250 size-jnews-350x250 lazyload wp-post-image\" alt=\"SEED Notice\" loading=\"lazy\" sizes=\"(max-width: 900px) 100vw, 900px\" data-src=\"https:\/\/www.mysite.com\/wp-content\/uploads\/2014\/06\/brain-770044_1280.jpg\" data-srcset=\"https:\/\/www.mysite.com\/wp-content\/uploads\/2014\/06\/brain-770044_1280.jpg 900w, https:\/\/www.mysite.com\/wp-content\/uploads\/2014\/06\/brain-770044_1280-150x106.jpg 150w, https:\/\/www.mysite.com\/wp-content\/uploads\/2014\/06\/brain-770044_1280-300x212.jpg 300w, https:\/\/www.mysite.com\/wp-content\/uploads\/2014\/06\/brain-770044_1280-600x424.jpg 600w\" data-sizes=\"auto\" data-expand=\"700\" data-animate=\"0\" \/><\/div><\/a>\n <div class=\"jeg_post_category\">\n <span><a href=\"https:\/\/www.mysite.com\/category\/press-release\/notice-news\/\" class=\"category-notice-news\">Notice<\/a><\/span>\n <\/div>\n <\/div>\n <div class=\"jeg_postblock_content\">\n <h3 class=\"jeg_post_title\">\n <a href=\"https:\/\/www.mysite.com\/2021\/03\/post-or-article-name-goes-here-2021\/\">\u201cSEED\u201d ipsum continue ipsum at lorem in lorem 2021<\/a>\n <\/h3>\n <div class=\"jeg_post_meta\"><div class=\"jeg_meta_date\"><a href=\"https:\/\/www.mysite.com\/2021\/03\/post-or-article-name-goes-here-2021\/\"><i class=\"fa fa-clock-o\"><\/i> 3 days ago<\/a><\/div><\/div>\n <div class=\"jeg_post_excerpt\">\n <p>lorem ipsum payments lorem Ipsum 2021 ipsum lorem bcrenm Wednesday, 24 March and lorem Ipsum stuffs random, 26 Lorem 2021.<\/p>\n <a href=\"https:\/\/www.mysite.com\/2021\/03\/post-or-article-name-goes-here-2021\/\" class=\"jeg_readmore\">Read more<\/a>\n <\/div>\n <\/div>\n <\/article>.....
So I don’t know what exactly could be causing BBQ to block this from coming in
Yeah it’s probably something in there. If you let me know how to repeat the error on a default WordPress site, I would be glad to take a closer look.
Well The only way to reproduce the error is to have the JNews theme installed, create a post module with pagination and have BBQ Firewall active. Once BBQ is active none of the pagination/load-more buttons work
JNews: https://jnews.io/
Ok thanks I will take a look.
I also encountered the same problem, is there a solution currently? Thank you.
Hi,
I have also an issue, using Jnews theme (V9.02) and BBQ Firewall.
The sub menu of the mega menu infinitly load.
The version of BBQ firewall that doesn’t break the fonctionnality is : 20200811.
For anyone reporting issues with a false positive (like some page or resource not loading). In order to investigate I need an example of the actual URL that is affected. For example see @ab473code’s URL above. Currently that is the only URL that has been reported, so if you have any others please let me know. Thank you.
-
This reply was modified 3 years, 8 months ago by
Jeff Starr.
-
This reply was modified 3 years, 8 months ago by
Jeff Starr.
https://dev.unicreate.com.tw/blog/
Thanks.-
This reply was modified 3 years, 8 months ago by
yo928.
Hi, here is a clone site :
https://maritour-dev-sdbpro.pf12.wpserveur.net/
The mega menu doesn’t load the category and post like it should.Here is the page of the demo, with the mega menu loading right :
https://jnews.io/bloomnews/The version of BBQ firewall that doesn’t break the fonctionnality is : 20200811.
thanks
Yeah thanks but all I need is the URL(s) that are blocked by BBQ. We’re not allowed to log in to any user sites.
-
This reply was modified 4 years ago by
- The topic ‘BBQ Blocking ajax-request’ is closed to new replies.