Skip to content

Commit

Permalink
Removed the OS version build number from the UserAgent header.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Oct 23, 2024
1 parent fb5ef28 commit 373c78a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/corelib/CurrentApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private string SystemVersion
get
{
Version OSVersion = Environment.OSVersion.Version;
return string.Format(Properties.Resources.VersionNumberTemplate, OSVersion.Major, OSVersion.Minor, OSVersion.Build);
return string.Format(Properties.Resources.OSVersionTemplate, OSVersion.Major, OSVersion.Minor);
}
}

Expand Down
18 changes: 9 additions & 9 deletions src/corelib/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/corelib/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@
<data name="OSFriendlyNameWin" xml:space="preserve">
<value>{0} NT</value>
</data>
<data name="OSVersionTemplate" xml:space="preserve">
<value>{0}.{1}</value>
</data>
<data name="PathValidateRegex" xml:space="preserve">
<value>^[0-9a-zA-Z :()-_./\\\\]*$</value>
</data>
Expand Down Expand Up @@ -237,9 +240,6 @@
<data name="UserIDValidateRegex" xml:space="preserve">
<value>^\d{2,12}$</value>
</data>
<data name="VersionNumberTemplate" xml:space="preserve">
<value>{0}.{1}.{2}</value>
</data>
<data name="VideoFileAutoPrefix" xml:space="preserve">
<value>VideoAutoCfg</value>
</data>
Expand Down

0 comments on commit 373c78a

Please sign in to comment.