Skip to content

Commit 22d3000

Browse files
committed
Fix: skip internal tools requests.
1 parent 9d92da1 commit 22d3000

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cleantalk.antispam/include.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ public function OnPageStartHandler()
210210
(isset($_POST['comment_post_id'], $_POST['comment'], $_POST['blog_upload_cid'])) ||
211211
strpos($_SERVER['REQUEST_URI'], '/order/make') ||
212212
(isset($_POST['NEW_PASSWORD'], $_POST['NEW_PASSWORD_CONFIRM']) && strpos($_SERVER['REQUEST_URI'], 'personal/profile/') !== false) ||
213-
(isset($_POST['t'], $_POST['dl'], $_POST['dt']) && $_POST['t'] == 'pageview')
213+
(isset($_POST['t'], $_POST['dl'], $_POST['dt']) && $_POST['t'] == 'pageview') ||
214+
strpos($_SERVER['REQUEST_URI'], 'bitrix/tools/conversion/') !== false
214215
)
215216
{
216217
return;

0 commit comments

Comments
 (0)