Commit a8fbedcc authored by Szabolcs Gyuris's avatar Szabolcs Gyuris

* Add french language in locales - Thomas Baguet

* Use encodeURIComponent when sending login name and password
parent 7e98ae81
0.10 - 2014.12.14
=================
* Add french language in locales - Thomas Baguet
* Use encodeURIComponent when sending login name and password
0.9 - 2014.07.26
================
......
......@@ -995,7 +995,7 @@ nsSeaFile.prototype = {
}.bind(this);
req.setRequestHeader("Accept", "application/json");
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
req.send("username="+this._userName+"&password="+this._password);
req.send("username="+encodeURIComponent(this._userName)+"&password="+encodeURIComponent(this._password));
this.log.debug("Login information sent!");
},
......
......@@ -9,7 +9,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>cloudfile-seafile@oregpreshaz.eu</em:id>
<em:version>0.9</em:version>
<em:version>0.10</em:version>
<em:type>2</em:type>
<!-- Target Application this extension can install into,
......@@ -43,7 +43,7 @@
<Description>
<em:locale>fr</em:locale>
<em:name>SeaFile pour Filelink</em:name>
<em:description>Permet d'utiliser SeaFile dans Filelink<</em:description>
<em:description>Permet d'utiliser SeaFile dans Filelink</em:description>
<em:translator>T0mab</em:translator>
</Description>
</em:localized>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment