mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-25 01:52:07 +08:00
ai-source-v2 finding F1 for langbot-team/URLSummary 0.1.10: the URL extraction pattern keeps control characters (a DEL survives the trailing punctuation strip), so http.client raised InvalidURL quoting the whole relative request target — query string included. The redaction boundaries only matched absolute URLs, so a signed query reached the shared log verbatim. Refuse control characters in validate_url before a request target exists, skip such URLs during detection, and log only an exception class instead of raw exception text (and frames only, not traceback.format_exc() tail). Co-authored-by: multica-agent <[email protected]>