Skip to content

Commit

Permalink
Fix: skip internal tools requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ardavydov committed Apr 13, 2021
1 parent 9d92da1 commit 22d3000
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cleantalk.antispam/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ public function OnPageStartHandler()
(isset($_POST['comment_post_id'], $_POST['comment'], $_POST['blog_upload_cid'])) ||
strpos($_SERVER['REQUEST_URI'], '/order/make') ||
(isset($_POST['NEW_PASSWORD'], $_POST['NEW_PASSWORD_CONFIRM']) && strpos($_SERVER['REQUEST_URI'], 'personal/profile/') !== false) ||
(isset($_POST['t'], $_POST['dl'], $_POST['dt']) && $_POST['t'] == 'pageview')
(isset($_POST['t'], $_POST['dl'], $_POST['dt']) && $_POST['t'] == 'pageview') ||
strpos($_SERVER['REQUEST_URI'], 'bitrix/tools/conversion/') !== false
)
{
return;
Expand Down

0 comments on commit 22d3000

Please sign in to comment.