[Development] API review for the new QUrl
Peter Hartmann
peter.hartmann at nokia.com
Tue Nov 1 10:51:02 CET 2011
On 10/31/2011 05:42 PM, ext Thiago Macieira wrote:
> (...)
>>> - QUrlQuery does not keep the order of the items (it's kept in a hash).
>>> Is
>>>
>>> the order important?
>>
>> I would prefer if the order was kept; e.g. for using OAuth, the
>> parameters need to be sorted in alphabetical order and then that string
>> needs to be hashed; changing the order in that case would also change
>> the hash value and would result in an error when using OAuth.
>>
>> So I think there are use cases where parameter ordering is important.
>
> I see. Do you have any OAuth testcases I could add to make sure QUrlQuery
> works as expected?
not yet, unfortunately. We might come up with one once we proceed with
OAuth, though (see the OAuth task at ->
https://bugreports.qt.nokia.com/browse/QTBUG-6229 ).
Peter
>
>
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
--
Qt Developer Days 2011 – REGISTER NOW!
October 24 – 26, Munich
November 29 – December 1, San Francisco
Learn more and Register at http://qt.nokia.com/qtdevdays2011
More information about the Development
mailing list