(url: str)
| 44 | |
| 45 | |
| 46 | def suggestion_for_abs(url: str) -> str: |
| 47 | parsed = re.sub(r"^https?://www\.codenameone\.com", "", url, flags=re.IGNORECASE) |
| 48 | if not parsed.startswith("/"): |
| 49 | parsed = "/" + parsed |
| 50 | return parsed |
| 51 | |
| 52 | |
| 53 | def audit(root: Path) -> List[Finding]: |