Skip to content

Commit

Permalink
Revert commit breaking public share views
Browse files Browse the repository at this point in the history
I haven't dug into the details here, but the upstream commit introduced
in nextcloud/server#14886 broke publicly shared
links in a way so you can't click on subfolders.

The regression is tracked upstream at:

nextcloud/server#14962

Signed-off-by: aszlig <aszlig@nix.build>
  • Loading branch information
aszlig committed Apr 6, 2019
1 parent aff89f3 commit d7ba153
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions package/current/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchzip, fetchFromGitHub
{ stdenv, lib, fetchzip, fetchFromGitHub, fetchpatch

# Args passed by /default.nix.
, apps, theme, extraPostPatch
Expand Down Expand Up @@ -44,7 +44,16 @@ in stdenv.mkDerivation rec {
patches/no-config-uid-check.patch
patches/executable-lookup.patch
patches/readonly-config-upgrade.patch
];
] ++ (lib.singleton (fetchpatch {
# In Nextcloud 15.0.6.1, there has been a regression[1] which has been
# caused by the following commit, which we subsequently revert for now.
#
# [1]: https://github.com/nextcloud/server/issues/14962
url = "https://github.com/nextcloud/server/commit/"
+ "8ac03c67a783ca1c59ac0c8dc7eaf000a9919996.patch";
sha256 = "0z95ciggjfklmb414cqvbch368p2np3c9y70h37yp2v2fx2jngdi";
revert = true;
}));

# Nextcloud checks whether the user matches the webserver user by comparing
# the current userid with the owner of config.php. In our case however, the
Expand Down

0 comments on commit d7ba153

Please sign in to comment.