change bool to enum : KUrl

Thiago Macieira thiago at kde.org
Tue May 2 14:54:50 BST 2006


David Faure wrote:
>> Is the lowercasing really worth having an extra method that has a
>> different return type, creating a conflict with one of the 8 methods
>> in QUrl dedicated to query item handling?
>
>Because decoding '+' to ' ' (which is necessary for HTTP)

It's not part of HTTP nor HTML. It's just CGI conventional processing.

There's no problem passing %20 in those places.

This feature is only useful for applications dealing with form-posting.

>was deemed to be "not the task of QUrl" by the QUrl maintainer, so I do
> it in KUrl.

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060502/327e64df/attachment.sig>


More information about the kde-core-devel mailing list