mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-13 04:57:29 +00:00
fix(settings): harden network controls
This commit is contained in:
@@ -245,7 +245,7 @@ export const AddDownloadsModal = () => {
|
||||
}
|
||||
const meta = await invoke('fetch_metadata', {
|
||||
url: row.sourceUrl,
|
||||
userAgent: settingsStore.customUserAgent || null,
|
||||
userAgent: settingsStore.customUserAgent.trim() || null,
|
||||
username: useAuth ? username.trim() || null : login?.username || null,
|
||||
password: useAuth ? password || null : keychainPassword,
|
||||
headers: headers?.trim() || null,
|
||||
|
||||
Reference in New Issue
Block a user