Skip to content

Remove duplicate file extension in DownloadFile#230

Merged
lxowalle merged 1 commit intosipeed:mainfrom
mattn:fix/double-file-extension
Feb 15, 2026
Merged

Remove duplicate file extension in DownloadFile#230
lxowalle merged 1 commit intosipeed:mainfrom
mattn:fix/double-file-extension

Conversation

@mattn
Copy link
Contributor

@mattn mattn commented Feb 15, 2026

SanitizeFilename uses filepath.Base, so safeName already contains the extension, which is doubled with +ext (photo.jog => uuid_photo.jpg.jpg)

@lxowalle lxowalle merged commit 1d748fb into sipeed:main Feb 15, 2026
3 checks passed
@lxowalle
Copy link
Collaborator

Thanks for your contribution! We are forming the PicoClaw Dev Group to accelerate the evolution of the project. Any developer with more than one merged PR is invited to join.

Would you like to join the PicoClaw Dev Group? If so, please send an email to support@sipeed.com with the subject line: [Join PicoClaw Dev Group] + Your GitHub account. We will send the Discord invite link to your inbox.

emadomedher pushed a commit to emadomedher/picoclaw that referenced this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants