summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 11:52:49 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 11:52:49 +0000
commitbff791f9bd1828c66e1462a4a3f86a800b58ad13 (patch)
tree1ede414c44c4ac52a0183d27745836704ca4c846
parenta1d2e31a7e40c3daf9b61b545aea09f3dcc40260 (diff)
SkypeWeb: Small search fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/SkypeWeb/src/requests/search.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/requests/search.h b/protocols/SkypeWeb/src/requests/search.h
index cfc761b06e..3ef28b2b24 100644
--- a/protocols/SkypeWeb/src/requests/search.h
+++ b/protocols/SkypeWeb/src/requests/search.h
@@ -21,7 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class GetSearchRequest : public HttpRequest
{
public:
- GetSearchRequest(const char *token, const char *string) : HttpRequest(REQUEST_GET, FORMAT, "api.skype.com/search/users/any?keyWord=%s&contactTypes[]=skype", string)
+ GetSearchRequest(const char *token, const char *string) :
+ HttpRequest(REQUEST_GET, FORMAT, "api.skype.com/search/users/any?keyWord=%s&contactTypes[]=skype", mir_urlEncode(string))
{
Headers
<< CHAR_VALUE("Accept", "application/json")