(url)
| 80 | |
| 81 | |
| 82 | def normalize_notify_url(url): |
| 83 | text = url.strip() |
| 84 | if LEGACY_TELEGRAM_RE.match(text): |
| 85 | return LEGACY_TELEGRAM_RE.sub("tgram://", text, count=1) |
| 86 | return text |
| 87 | |
| 88 | |
| 89 | def collect_notify_urls(environ): |
no outgoing calls
no test coverage detected