Skip to content

org snippet caused 500 internal server error #17139

Closed
@Iced-Sun

Description

@Iced-Sun

Gitea Version

1.15.2

Git Version

No response

Operating System

No response

How are you running Gitea?

Helm chart.

Database

No response

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

A source block with http language modifier in org-mode file causes render failure with 500 internal server error for gitea-1.15.2. A demo is located at https://try.gitea.io/Iced-Sun/org/src/branch/master/test.org.

#+begin_src http
POST https://httpbin.org/post
Content-Type: application/json

{
  "foo": "bar"
}
#+end_src

It used to work on gitea-1.14.6 and before.

Screenshots

No response

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