Reverts #122 Don't encode login & password as they will be encoded in Typhoeus

This commit is contained in:
erwanlr
2013-04-13 18:02:12 +02:00
parent 4ecbf7fe79
commit 5d327f5060
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ class WpUser < WpItem
request = Browser.instance.forge_request(login_url, request = Browser.instance.forge_request(login_url,
{ {
method: :post, method: :post,
body: { log: URI::encode(login), pwd: URI::encode(password) }, body: { log: login, pwd: password },
cache_ttl: 0 cache_ttl: 0
} }
) )

View File

@@ -1,6 +1,6 @@
password1 password1
password2
pa55w0rd pa55w0rd
# comment # comment
admin admin
root root
kansei£Ô