mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-17 05:28:52 +00:00
api: clean url upon entry, not down the road
This commit is contained in:
@@ -93,4 +93,4 @@ export function getHostIfValid(url) {
|
||||
if (!validSubdomain && !anySubdomainAllowed) return;
|
||||
|
||||
return host.sld;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user