1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-25 07:34:10 +02:00

[#4824] updated the uploaded filename normalization to take double extensions in consideration

This commit is contained in:
Gani Georgiev
2024-04-24 22:00:18 +03:00
parent 4cfabc61e6
commit ece62ebdf5
39 changed files with 215 additions and 150 deletions

View File

@@ -21,6 +21,7 @@ func TestCompareVersions(t *testing.T) {
{"0.0.2", "0.0.1", -1},
{"0.16.2", "0.17.0", 1},
{"1.15.0", "0.16.1", -1},
{"1.2.9", "1.2.10", 1},
{"3.2", "4.0", 1},
{"3.2.4", "3.2.3", -1},
}