Skip to content

README.org casuing 500 internal server error #28974

Closed
@arifer612

Description

@arifer612

Description

[[file:]] Org links are causing 500 internal server errors (similar to #17139):

An error occurred:

Render, orgmode.Render failed: could not write output: interface conversion: org.Node is org.Text, not org.RegularLink

The culprit lies in Org file: links, e.g., [[GPLv3 Badge][file:https://img.shields.io/badge/license-GPL_3-green.svg]]. This should show a GPLv3 badge, but instead triggers the error. Although omitting the file: still achieves the intended result without an error, it should be noted that this works just fine on GitHub and in the previous version of Gitea, i.e., v1.21.3.

P.S. Gitea demo site reproduction was not possible as I could not even log into the demo site.

Gitea Version

1.21.4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/arifer612/2baa4b54e00392e0d7f0238a2344450f

Screenshots

Screenshot from 2024-01-29 21-26-08

Git Version

2.40.1

Operating System

unRAID

How are you running Gitea?

Run as a Docker container.

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions