Skip to content

gitea dump doubles all attachments on Windows #27988

Closed
@crackedmind

Description

@crackedmind

Description

i have 1 attachment, for example
data\attachments\2\a\2a08a9d1-9b6f-4c6b-b2de-9bed9505ba22

after gitea dump in dump file i found two copies of each attachment
but one of them writed as data/attachments/2/a/2a08a9d1-9b6f-4c6b-b2de-9bed9505ba22
second as data/attachments/2\a\2a08a9d1-9b6f-4c6b-b2de-9bed9505ba22

Gitea Version

1.20.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.42.0.windows.2

Operating System

Windows 11

How are you running Gitea?

from command line gitea-1.20.5-windows-4.0-amd64.exe

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions