mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-31 07:10:47 +02:00
refactor: continue code cleanup
This commit is contained in:
@@ -38,7 +38,6 @@ func (r *ExtensionRuntime) validateDomain(urlStr string) error {
|
||||
return fmt.Errorf("invalid URL: hostname is required")
|
||||
}
|
||||
|
||||
// Block private/local network access (SSRF protection)
|
||||
if isPrivateIP(domain) {
|
||||
return fmt.Errorf("network access denied: private/local network '%s' not allowed", domain)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user