Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a1843aa6548ccbec94b1a885f66f041959361a00
      
https://github.com/WebKit/WebKit/commit/a1843aa6548ccbec94b1a885f66f041959361a00
  Author: Alexey Proskuryakov <[email protected]>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M Tools/Scripts/block-spammers

  Log Message:
  -----------
  block-spammers sometimes gets blocked by edge firewall
https://bugs.webkit.org/show_bug.cgi?id=324734
rdar://188014640

Reviewed by Jonathan Bedard.

Because user id was sent as part of the URL, edge firewall could see blocked 
patterns,
and reject such requests before they could reach Bugzilla.

Work around this by sending data in body. Refactored the code to have a helper 
that
fetches and decodes JSON for consistent error handling.

Additionally, drive-by fix for invalidate_bugzilla_token(), which sent 
rest/logout?<token>
instead of rest/logout?token=<token>, so the session token was never actually 
invalidated
at exit.

* Tools/Scripts/block-spammers:
(get_json):
(get_bugzilla_token):
(invalidate_bugzilla_token):
(get_user_info):
(get_bugs_created_by_user):
(get_bugs_commented_on_by_user):
(get_comments):
(get_bugs_with_attachments_created_by_user):
(get_attachments):

Canonical link: https://commits.webkit.org/321543@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to