Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

do not encode signed url

Fendy Heryanto736956beab90
diff --git a/packages/nocodb/src/helpers/dataHelpers.ts b/packages/nocodb/src/helpers/dataHelpers.ts
index 857c26e384..43cd83d4bf 100644
--- a/packages/nocodb/src/helpers/dataHelpers.ts
+++ b/packages/nocodb/src/helpers/dataHelpers.ts
@@ -85,11 +85,11 @@ export async function serializeCellValue(
.filter((attachment) => attachment)
.map(
(attachment) =>
- `${attachment.title || 'Attachment'}(${encodeURI(
+ `${attachment.title || 'Attachment'}(${
attachment.signedPath
- ? `${siteUrl}/${attachment.signedPath}`
- : attachment.signedUrl,
- )})`,
+ ? encodeURI(`${siteUrl}/${attachment.signedPath}`)
+ : attachment.signedUrl
+ })`,
)
.join(', ');
}