Skip to content

Error when pasting an attachment #28915

Closed
@CrowMash

Description

@CrowMash

Description

In issues, when I paste a screenshot, the attachment does not appear:

image

But in the project view, I can see the image:

image

Looks like the URL in the image src does not contain the base URL (/gitea/ in my case):

image

Gitea Version

1.21.4 built with GNU Make 4.3, go1.21.5 : bindata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.30.2, Wire Protocol Version 2 Enabled

Operating System

debian 11

How are you running Gitea?

Installation from binary

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions