Revision b3ee0e78
Added by Leszek Koltunski about 4 years ago
build.gradle | ||
---|---|---|
15 | 15 |
applicationId "org.distorted.magic" |
16 | 16 |
minSdkVersion 21 |
17 | 17 |
targetSdkVersion 29 |
18 |
versionCode 19
|
|
19 |
versionName "1.5.1"
|
|
18 |
versionCode 20
|
|
19 |
versionName "1.5.2"
|
|
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
buildTypes { |
src/main/java/org/distorted/scores/RubikScoresDownloader.java | ||
---|---|---|
374 | 374 |
String url1="https://distorted.org/magic/cgi-bin/submit.cgi"; |
375 | 375 |
String url2 = "n="+name+"&v="+veri+"&r="+numRuns+"&p="+numPlay+"&i="+deviceID+"&e="+mVersion+"d"; |
376 | 376 |
url2 += reclist+"&c="+country+"&f="+epoch+"&oo="+ ObjectList.getObjectList(); |
377 |
url2 += "&min=0&max="+MAX_LEVEL+"&lo="+MAX_PLACES+"&h="+computeHash( url2, salt.getBytes() ); |
|
377 |
url2 += "&min=0&max="+MAX_LEVEL+"&lo="+MAX_PLACES; |
|
378 |
String hash = computeHash( url2, salt.getBytes() ); |
|
378 | 379 |
|
379 |
return url1 + "?" + url2; |
|
380 |
return url1 + "?" + url2 + "&h=" + hash;
|
|
380 | 381 |
} |
381 | 382 |
|
382 | 383 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Correct a bug computing Hash and immediatelly bump to 1.5.2