Skip to content

set DISABLE_DOWNLOAD_SOURCE_ARCHIVES to true, but still can download from UI #20685

Closed
@rz2014

Description

@rz2014

Description

There is a download icon in repo as following:

image

After set DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true in app.ini file, and restart gitea. But it's still there! as shown above.

Gitea Version

1.17

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

2.36.2

Operating System

docker

How are you running Gitea?

Deploy gitea by docker. the docker image is from hub.docker.com

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    skip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions