CDash icon indicating copy to clipboard operation
CDash copied to clipboard

CDash is not base64-decoding files uploaded via Measurement type `text/preformatted`

Open ghost opened this issue 2 years ago • 0 comments

Bug report

Expected Behavior

Files uploaded via <DartMeasurementFile name="text_log_rank_07" type="text/preformatted"" encoding="utf-8>/tmp/path.log</DartMeasurementFile> should be displayed on http://cdash.yuwei/test/1698913 as base64-decoded texts.

Actual Behavior

They are displayed base64-encoded, not readable for a human. (Can be downloaded and base64-decoded manually)

CDash Version

v3.1.0-6-g53c74b920

Additional Information

Reproducing should be straightforward?

As far as I remember, blobs are just stored as base64-encoded strings in MySQL, so there needs to be a function to decode them?

ghost avatar Jul 11 '23 10:07 ghost