zowe / zss

Zowe System Services Server for enabling low-level microservices
Eclipse Public License 2.0
13 stars 45 forks source link

ZSS unixfile/contents api inserts symbols whenever file is larger than 1MB #657

Closed struga0258 closed 1 month ago

struga0258 commented 10 months ago

Seems like the ZSS unixfile/contents api keeps inserting symbols whenever the file is larger than 1MB. This has been tested with all different tags and encoded files and only happens when files are larger than 1MB.

DivergentEuropeans commented 6 months ago

@jordanfilteau1995 was kind enough to take a look at it. Possible workaround? He said: The base64 encoded string that zss is producing is incorrect. There's some bug. Perhaps the working buffer isn't cleared between logic in a loop and artifacts are left behind. If you try to get the file using responseType=RAW instead of responseType=B64, the file is correct.

Gautham-coder commented 1 month ago

Issue tested by reporter and confirmed resolved.