TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Wrong filename displayed in Item attachments (sometimes)

Open adieguez-emais opened this issue 7 months ago • 2 comments

https://github.com/nilsteampassnet/TeamPass/blob/743a3efa80908c9ee1dcc694229279dad99afa6d/pages/items.js.php#L5496 (Also 5508 and 5516)

When a file name (value.filename) is alphanumeric and its length is a multiple of 4, isBase64 will be true and the shown file name will be messed up

Image

adieguez-emais avatar Jun 05 '25 14:06 adieguez-emais

I have the same issue, if I download the file I have the right name. I don't know how to solve it.

BLDJALLOW avatar Jun 17 '25 08:06 BLDJALLOW

@adieguez-emais This is correct. THank you for this finding that I didn't experienced.

nilsteampassnet avatar Jun 21 '25 07:06 nilsteampassnet