mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Use a random number for WebUI cache busting
Also fetch qbt version info via WebAPI properly.
This commit is contained in:
@@ -127,6 +127,7 @@ private:
|
||||
Http::Request m_request;
|
||||
Http::Environment m_env;
|
||||
QMap<QString, QString> m_params;
|
||||
const QString m_cacheID;
|
||||
|
||||
const QRegularExpression m_apiPathPattern {(QLatin1String("^/api/v2/(?<scope>[A-Za-z_][A-Za-z_0-9]*)/(?<action>[A-Za-z_][A-Za-z_0-9]*)$"))};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user