mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:32:57 +03:00
[PR #413] [MERGED] fix: ensure file descriptors are closed + other bugs #825
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/413
Author: @ItalyPaleAle
Created: 4/3/2025
Status: ✅ Merged
Merged: 4/4/2025
Merged by: @stonith404
Base:
main← Head:406-fixup📝 Commits (1)
34842e3fix: ensure file descriptors are closed + other bugs📊 Changes
6 files changed (+52 additions, -15 deletions)
View changed files
📝
backend/internal/controller/user_controller.go(+3 -0)📝
backend/internal/job/file_cleanup_job.go(+3 -3)📝
backend/internal/model/user.go(+4 -8)📝
backend/internal/service/user_service.go(+4 -4)📝
backend/internal/utils/string_util.go(+13 -0)📝
backend/internal/utils/string_util_test.go(+25 -0)📄 Description
defaultPicturestream (previous code was potentially unsafe as the returned slice was valid only until the next buffer modification)Fixup from #406
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.