We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f841b4d commit 2c8e063Copy full SHA for 2c8e063
1 file changed
server/endpoint_shl.pas
@@ -197,7 +197,8 @@ function TSHLWebServer.processManifest(request: TIdHTTPRequestInfo; response: TI
197
f := resp.forceArr['files'].addObject;
198
f.str['contentType'] := c.GetColStringByName('mimetype');
199
f.str['location'] := 'https://'+common.host+PathWithSlash+'data/'+uuid;
200
- b64 := EncodeBase64(c.GetColBlobByName('blob'));
+ b64 := c.GetColStringByName('blob'); // it's already base64 encoded
201
+ // EncodeBase64(c.GetColBlobByName('blob'));
202
if (not req.has('embeddedLengthMax')) or (b64.Length < req.int['embeddedLengthMax']) then
203
f.str['embedded'] := b64;
204
response.ResponseNo := 200;
0 commit comments