chungchunwang / Budibase-File-Repeater

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When I click on blob URL I cannot access the file

melohagan opened this issue · comments

I have successfully used the File Upload Component to upload to a text field as follows:

.[{"name":"yellow.jpg","type":"image/jpeg","size":83667,"link":"data:image/jpeg;base64,/9j/4AAQ ... ... ... B5Tdqca+W/l18J5eNr//Z"}].

However when I click on the blob URL, I just get redirected without seeing the file:

tour

Screenshot 2022-12-07 at 08 19 46

Screenshot 2022-12-07 at 08 20 16

EDIT
Using a data URL in an Image component works wonderfully 😄
Screenshot 2022-12-07 at 08 22 21

Hi! This is odd, as the browser doesn't seem to attempt to go to the link at all, it just jumps back to the main page. Is the blobURL inserted into the URL attribute of the link component? Also, does the blob URL work when it is manually copied into a new tab? Additionally, does clicking on a file inside the file upload plugin work? (It also works using blobURL)

Hey @chungchunwang

The URL does work when manually copied. Appears to be a little quirk with the link component. Closing!