Skip to content

Commit

Permalink
gitea: prevent unauthorized access to containers from public repos if…
Browse files Browse the repository at this point in the history
… REQUIRE_SIGNIN_VIEW is set

The issue got fixed in 1.21, but we still have 1.20 on 23.11.
See go-gitea/gitea#28875 / go-gitea/gitea#28875
  • Loading branch information
Ma27 committed Feb 1, 2024
1 parent 03fd917 commit b1a29ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/applications/version-management/gitea/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, stdenv
, buildGoModule
, fetchurl
, fetchpatch
, makeWrapper
, git
, bash
Expand Down Expand Up @@ -32,6 +33,11 @@ buildGoModule rec {

patches = [
./static-root-path.patch
# https://github.com/go-gitea/gitea/pull/28877
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/go-gitea/gitea/pull/28877.patch";
hash = "sha256-cThW3EnHR695thajbnmfNziVB/iBP9OPeDgWbszYIeg=";
})
];

postPatch = ''
Expand Down

0 comments on commit b1a29ef

Please sign in to comment.