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