kgeminicdev
kgeminicdev
`res.send()` stopped adding `Content-Length` when a `Transfer-Encoding` header is present (#4893, #7459), because the two must not be sent together (RFC 9112 §6.2). `res.redirect()` still sets `Content-Length` unconditionally, so it...
`mfa_limiter` (5 attempts / 300s, 900s ban, keyed by user id) is charged on every call to `is_allowed`, and nothing ever calls `record_success` for it. So accepted codes eat the...
> Bug Report I have read: * [README / usage](https://github.com/yagop/node-telegram-bot-api#readme) * [v1 -> v2 migration guide](https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md) I am using the latest version of the library. ### Expected Behavior `bot.command("start", …)`...
> Bug Report I have read: * [README / usage](https://github.com/yagop/node-telegram-bot-api#readme) * [v1 -> v2 migration guide](https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md) I am using the latest version of the library. ### Expected Behavior After `bot.stop()`...
> Bug Report I have read: * [README / usage](https://github.com/yagop/node-telegram-bot-api#readme) * [v1 -> v2 migration guide](https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md) I am using the latest version of the library. ### Expected Behavior `ctx.reply()` answers...
`RateLimiter.acquire()` awaits the global bucket first, then the chat's bucket: ```ts if (this.global) { await this.global.take(signal); } if (this.perChatRate !== undefined && chatId !== undefined) { await this.chatBucket(String(chatId)).take(signal); } ```...