Use url encode on all text parameter
This commit is contained in:
@@ -190,13 +190,13 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
|
|||||||
"/server/config.php",
|
"/server/config.php",
|
||||||
URLEncoder.encode(this.user_config.login(), "UTF-8"),
|
URLEncoder.encode(this.user_config.login(), "UTF-8"),
|
||||||
URLEncoder.encode(this.user_config.password(), "UTF-8"),
|
URLEncoder.encode(this.user_config.password(), "UTF-8"),
|
||||||
os.getCPU().family(),
|
URLEncoder.encode(os.getCPU().family(), "UTF-8"),
|
||||||
os.getCPU().model(),
|
URLEncoder.encode(os.getCPU().model(), "UTF-8"),
|
||||||
URLEncoder.encode(os.getCPU().name(), "UTF-8"),
|
URLEncoder.encode(os.getCPU().name(), "UTF-8"),
|
||||||
((this.user_config.getNbCores() == -1) ? os.getCPU().cores() : this.user_config.getNbCores()),
|
((this.user_config.getNbCores() == -1) ? os.getCPU().cores() : this.user_config.getNbCores()),
|
||||||
os.name(),
|
URLEncoder.encode(os.name(), "UTF-8"),
|
||||||
os.getMemory(),
|
os.getMemory(),
|
||||||
os.getCPU().arch(),
|
URLEncoder.encode(os.getCPU().arch(), "UTF-8"),
|
||||||
this.user_config.getJarVersion(),
|
this.user_config.getJarVersion(),
|
||||||
URLEncoder.encode(hostname, "UTF-8"),
|
URLEncoder.encode(hostname, "UTF-8"),
|
||||||
this.user_config.getExtras());
|
this.user_config.getExtras());
|
||||||
|
|||||||
Reference in New Issue
Block a user