mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Use a random number for WebUI cache busting
Also fetch qbt version info via WebAPI properly.
This commit is contained in:
parent
d022457e0c
commit
49b57904f9
18 changed files with 70 additions and 45 deletions
|
@ -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]*)$"))};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue