AttorneyOnline / tsuserver3

An Attorney Online server.
GNU Affero General Public License v3.0
25 stars 51 forks source link

Evidence name, filename, and description are not encoded properly when sent back to the client #167

Closed in1tiate closed 3 years ago

in1tiate commented 3 years ago

Describe the bug Evidence name, filename, and description are not properly encoded when sent back to the client after evidence has been edited

To reproduce Steps to reproduce the behavior:

  1. Create a new piece of evidence
  2. Change the name to "1&2&3"
  3. Save the evidence
  4. See error: Name is "1", filename is "2", and description is "3"

Expected behavior Name should be set to "1&2&3," with other fields unaffected

Other info: The EE packet is correctly encoded when the client sends it, The actual problem lies with the LE packet (which uses & as a delimiter).

in1tiate commented 3 years ago

the EE packet is correctly encoded when the client sends it, the actual problem lies with the LE packet (which uses & as a delimiter)

in1tiate commented 3 years ago

Actually a client issue after all. great