UFO: Alien Invasion Issue Tracker
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Closed Bug report #5662 WebAPI server sends invalid response
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Description
Listing "Multiplayer Team Definitions" (and probably any other cgame files) fail because the server sends back badly formatted records. The client reports "found 0 cgame file entries" as for the '''web_listcgame''' call the response look like: {{userid "5317" file "team01.mpt" name "zzz\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" category "0"}} Where \0 is actual chr(0) character. The parser on the client receives the record as '''const char*''' where \0 is the string terminator. The trailing zerobytes of strings should be filtered on the WebAPI server.
Steps to reproduce this issue
Nothing entered.
Comments (2)
History
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    2.6
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Always
  • Severity
    Not determined
  • Complexity
    Trivial
  • Platform
    Not determined
  • Architecture
    x86
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)