Skip to content

WEBLATE_BOT_PROTECTION_EXEMPT_AGENTS doesn't seem to work #4903

Done

Description

@ppfeufer

Describe the issue

Enabling WEBLATE_BOT_PROTECTION_ENABLED and setting WEBLATE_BOT_PROTECTION_EXEMPT_AGENTS doesn't seem to exempt the user agent.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

  1. Set WEBLATE_BOT_PROTECTION_ENABLED: 1
  2. Set WEBLATE_BOT_PROTECTION_EXEMPT_AGENTS: ^Uptime-Kuma/$
  3. Observe log: weblate | fd00:8:3001::2 - - [27/Nov/2026:11:52:12 +0000] "GET / HTTP/1.0" 403 6175 "-" "Uptime-Kuma/2.5.12"

I've tried different variations:

  • WEBLATE_BOT_PROTECTION_EXEMPT_AGENTS: ^Uptime-Kuma/$
  • WEBLATE_BOT_PROTECTION_EXEMPT_AGENTS: "^Uptime-Kuma/$"
  • WEBLATE_BOT_PROTECTION_EXEMPT_AGENTS: r"^Uptime-Kuma/$"

No luck so far.

According to the docs, the first I tried should be working:

Set WEBLATE_BOT_PROTECTION_EXEMPT_AGENTS to comma-separated, case-insensitive User-Agent regular expressions for monitoring exemptions. For example, ^Weblate-Uptime/1\.0$ exempts a monitor using that exact agent.

Expected behavior

Uptime Kuma is working.

Screenshots

No response

Exception traceback

Additional context

No response

Activity

  1. ppfeufer commented on Nov 27, 2026

    @ppfeufer
    Author

    Nevermind, regex issue -.-

  2. github-actions commented on Nov 27, 2026

    @github-actions

    The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.

    • In case you see a similar problem, please open a separate issue.
    • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions