1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-15 00:00:15 +00:00

fix: allow images with uppercase file extension

This commit is contained in:
Elias Schneider
2025-06-10 10:51:46 +02:00
parent 9700afb9cb
commit 1bcb50edc3
3 changed files with 4 additions and 5 deletions

View File

@@ -3,13 +3,12 @@ package utils
import (
"errors"
"fmt"
"github.com/google/uuid"
"github.com/pocket-id/pocket-id/backend/resources"
"io"
"mime/multipart"
"os"
"path/filepath"
"github.com/google/uuid"
"github.com/pocket-id/pocket-id/backend/resources"
)
func GetFileExtension(filename string) string {