Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-50001

QNetworkManager does not escape "+" symbol properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: Network: HTTP
    • Labels:
      None
    • Environment:
      Mac, but it happens in Windows too
    • Platform/s:
      macOS

      Description

      As far as I've searched there is no reason for this. In my program, Qt sends POSTs requests to a web server.
      The problem, if the text field I try to send contains a plus symbol, I ends in the database as an space (" "), I think the plus symbols are not being transformed to "%2B", and when the request arrives at the server, apache transforms the plus symbol into a space (" ").

      As you can see there is nothing unusual in the example.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            richmoore Richard Moore (qtnetwork)
            Reporter:
            Alvaro Octal Alvaro Octal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes