Skip to content

Commit 56e9477

Browse files
committed
patch: qt 6.9.0
1 parent be6d0dd commit 56e9477

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

patches/qbittorrent/5.0.4/patch

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
--- qBittorrent/src/base/http/types.h 2025-04-02 12:18:36.006314368 +0100
2+
+++ types.h 2025-03-03 09:24:36.686864000 +0000
3+
@@ -29,9 +29,12 @@
4+
5+
#pragma once
6+
7+
+#include <QByteArray>
8+
+#include <QHash>
9+
#include <QHostAddress>
10+
+#include <QList>
11+
+#include <QMap>
12+
#include <QString>
13+
-#include <QVector>
14+
15+
#include "base/global.h"
16+
17+
@@ -57,6 +60,7 @@
18+
inline const QString HEADER_X_CONTENT_TYPE_OPTIONS = u"x-content-type-options"_s;
19+
inline const QString HEADER_X_FORWARDED_FOR = u"x-forwarded-for"_s;
20+
inline const QString HEADER_X_FORWARDED_HOST = u"x-forwarded-host"_s;
21+
+ inline const QString HEADER_X_FORWARDED_PROTO = u"X-forwarded-proto"_s;
22+
inline const QString HEADER_X_FRAME_OPTIONS = u"x-frame-options"_s;
23+
inline const QString HEADER_X_XSS_PROTECTION = u"x-xss-protection"_s;
24+
25+
@@ -75,7 +79,7 @@
26+
inline const QString CONTENT_TYPE_FORM_DATA = u"multipart/form-data"_s;
27+
28+
// portability: "\r\n" doesn't guarantee mapping to the correct symbol
29+
- inline const char CRLF[] = {0x0D, 0x0A, '\0'};
30+
+ inline const QByteArray CRLF = QByteArrayLiteral("\x0D\x0A");
31+
32+
struct Environment
33+
{
34+
@@ -109,7 +113,7 @@
35+
HeaderMap headers;
36+
QHash<QString, QByteArray> query;
37+
QHash<QString, QString> posts;
38+
- QVector<UploadedFile> files;
39+
+ QList<UploadedFile> files;
40+
};
41+
42+
struct ResponseStatus
43+
@@ -129,4 +133,4 @@
44+
{
45+
}
46+
};
47+
-}
48+
+}
49+
\ No newline at end of file

patches/qbittorrent/5.0.4/url

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)