mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-11 01:44:58 -06:00
Compare commits
2 Commits
eaee38a19e
...
0defb7d79d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0defb7d79d | ||
|
|
1e400df324 |
@@ -683,6 +683,8 @@ void WebApplication::sessionStart()
|
||||
QByteArray cookieRawForm = cookie.toRawForm();
|
||||
if (m_isCSRFProtectionEnabled)
|
||||
cookieRawForm.append("; SameSite=Strict");
|
||||
else if (cookie.isSecure())
|
||||
cookieRawForm.append("; SameSite=None");
|
||||
setHeader({Http::HEADER_SET_COOKIE, QString::fromLatin1(cookieRawForm)});
|
||||
}
|
||||
|
||||
|
||||
@@ -166,6 +166,10 @@
|
||||
if (submitted)
|
||||
window.parent.closeWindows();
|
||||
});
|
||||
|
||||
if (Browser.platform === 'ios') {
|
||||
$('fileselect').accept = ".torrent";
|
||||
}
|
||||
</script>
|
||||
<div id="upload_spinner" class="mochaSpinner"></div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user