Fix issue with identifying downloaded profiles from web server. (Being

rejected due to sending misaligned client information)
This commit is contained in:
sigonasr2 2019-04-13 13:44:24 +09:00
parent 83d1cc2f3a
commit 1d4182df2a
3 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -15,3 +15,5 @@
/jinput-raw_64.dll /jinput-raw_64.dll
/jinput-wintab.dll /jinput-wintab.dll
/memoryDump.txt /memoryDump.txt
/sessions
/tmp_profile

Binary file not shown.

View File

@ -237,7 +237,7 @@ public class Profile {
if (sigIRC.authenticated) { if (sigIRC.authenticated) {
File file = new File(sigIRC.BASEDIR+"tmp_profile"); File file = new File(sigIRC.BASEDIR+"tmp_profile");
try { try {
org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://45.33.13.215/rabirace/send.php?key=retrievedata&timekey="+RabiRaceModule.CLIENT_SERVER_READTIME+"&name="+username.toLowerCase()),file); org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://45.33.13.215/rabirace/send.php?key=retrievedata&timekey="+RabiRaceModule.CLIENT_SERVER_READTIME+"&retrievename="+username.toLowerCase()+"&name="+RabiRaceModule.module.myProfile.username),file);
} catch (MalformedURLException e) { } catch (MalformedURLException e) {
e.printStackTrace(); e.printStackTrace();
} catch (IOException e) { } catch (IOException e) {