# Links not displaying spaces with multiple file column as source

**URL:** <https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823>\
**Category:** Report a Bug\
**Created:** [September 6, 2023, 3:54am UTC](https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823 "2023-09-06T03:54:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![james](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/james/32/71213_2.png) [@james](https://community.glideapps.com/u/james)\
**Post date:** [September 6, 2023, 3:54am UTC](https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823/1 "2023-09-06T03:54:49Z")

</div>

Probably more of a feature request than a bug as I think this was the behaviour from day 1…

Files uploaded to a multiple files column don’t display spaces correctly in the app - they seem to show the raw file name from the link which includes “%20” where each space should be. In the same situation but for a single file uploaded to a URL column, the URL in the database also shows “%20” for spaces but it displays the actual space correctly in the app.

In the image below, notice the difference between the “multi-file” file picker and link component which point to the multiple files column, versus the one titled “url” which points to the URL column.

 ![Files](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/5/e573b913c7f444517931701584d6bbe6ab1803bd.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [September 6, 2023, 4:55am UTC](https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823/2 "2023-09-06T04:55:12Z")

</div>

I’m not sure that qualifies as a bug. The multiple file column returns an array of URLs. The %20 that you see is a urlencoded representation of the space. This ensures that the URL is valid and will load without errors. Most browsers will handle spaces and urlencode them on the fly, although I don’t think this is guaranteed behaviour.

Is it just the aesthetics of it that you object to, or is there some other problem?

---

<div class="post-metadata">

**Author:** ![james](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/james/32/71213_2.png) [@james](https://community.glideapps.com/u/james)\
**Post date:** [September 6, 2023, 5:22am UTC](https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823/3 "2023-09-06T05:22:08Z")

</div>

Yeah I thought so.

It’s just the aesthetics…didn’t want to have to tell everyone to name their files with underscores or dashes.

Why is it that a single URL shows spaces as spaces but the multiple file column adds “%20”?

---

<div class="post-metadata">

**Author:** ![destinationspace](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@destinationspace](https://community.glideapps.com/u/destinationspace)\
**Post date:** [August 10, 2024, 7:38pm UTC](https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823/4 "2024-08-10T19:38:46Z")

</div>

Up, up, up/

---

<div class="post-metadata">

**Author:** ![destinationspace](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@destinationspace](https://community.glideapps.com/u/destinationspace)\
**Post date:** [August 10, 2024, 7:39pm UTC](https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823/5 "2024-08-10T19:39:08Z")

</div>

Is there a solution for this?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 11, 2024, 12:00am UTC](https://community.glideapps.com/t/links-not-displaying-spaces-with-multiple-file-column-as-source/65823/6 "2024-08-11T00:00:23Z")

</div>

> [@Is there a better way to display filenames of multiple files?](https://community.glideapps.com/t/is-there-a-better-way-to-display-filenames-of-multiple-files/68179/4):
>
> Here’s my approach. function generateLinksHTML(urlString) { // Splits the comma-delimited string into an array of URLs const urls = urlString.split(','); // Decodes URL-encoded characters using decodeURIComponent const decodeUrls = urls.map(url =\> decodeURIComponent(url)); // Defines the inline CSS for the pill-style links const linkStyle = 'padding: 8px 15px; background-color: #613DC7; color: white; text-decoration: none; border-radius: 20px; margin:…
