Added shorthand params to wpstools cli arguments. URI encoding URL before request, see Issue #55.

This commit is contained in:
ethicalhack3r
2012-11-06 14:53:06 +01:00
parent 9b8b573f83
commit d22c104fb2
2 changed files with 4 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ class Browser
def forge_request(url, params = {})
Typhoeus::Request.new(
url.to_s,
URI.encode(url.to_s),
merge_request_params(params)
)
end