Changeset 459:9fa7905e5ae1 in SMSSender


Ignore:
Timestamp:
Jan 5, 2015 1:26:10 PM (3 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
new-gtwy-coopmobile
Message:

Also percent-encodes the key of a key-value param.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/network/snetworkhelper_params.cpp

    r438 r459  
    11/*
    22  smssender - A frontend for fast and easy SMS sending over different gateways.
    3   Copyright (C) 2007-2014, gorrión. See http://smssender.gorrion.ch
     3  Copyright (C) 2007-2015, gorrión. See http://smssender.gorrion.ch
    44
    55  This program is free software: you can redistribute it and/or modify
     
    3030        case SNetworkHelper::ptUrlEncoded: {
    3131            QUrl params;
    32             params.addEncodedQueryItem(key(), value().toPercentEncoding());
     32            params.addEncodedQueryItem(key().toPercentEncoding(),
     33                                       value().toPercentEncoding());
    3334            return params.encodedQuery();
    3435        }
Note: See TracChangeset for help on using the changeset viewer.