Page 1 of 1

User agent change example wrong?

Posted: Thu Mar 09, 2017 2:48 pm
by sneaker
A, B, C and D are numbers indicating VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX and VERSION_BUILD respectively.
If D is zero it will be omitted. The 3rd dot(.) will be omitted in this case.
[...]
If E is empty it will be omitted. This indicates a stable release.
[...]the user agent that v3.3.12 will use is qBittorrent/3.3.12.
Why is the third dot not omitted in the example?

Re: User agent change example wrong?

Posted: Sat Mar 11, 2017 9:37 pm
by sneaker
Nevermind, looking at the HTML:

Code: Select all

To sum up and give an example, the user agent that v3.3.12 will use is <code>qBittorrent/3.3.12</code>.
Of course that's basically invisible for a human...