df
This commit is contained in:
@@ -373,9 +373,6 @@ def normalize_urls(value: Any) -> List[str]:
|
||||
text = raw.strip()
|
||||
if not text:
|
||||
return
|
||||
# Support legacy prefixes like "url:https://...".
|
||||
if text.lower().startswith("url:"):
|
||||
text = text.split(":", 1)[1].strip()
|
||||
|
||||
# Prefer extracting obvious URLs to avoid splitting inside query strings.
|
||||
matches = re.findall(r"https?://[^\s,]+", text, flags=re.IGNORECASE)
|
||||
|
||||
Reference in New Issue
Block a user