diff --git a/src/Distribution/Server/Packages/Unpack.hs b/src/Distribution/Server/Packages/Unpack.hs index 2d9236d7..b939b59d 100644 --- a/src/Distribution/Server/Packages/Unpack.hs +++ b/src/Distribution/Server/Packages/Unpack.hs @@ -216,9 +216,11 @@ specVersionChecks specVerOk specVer = do when (specVer < CabalSpecV1_2) $ throwError "'cabal-version' must be at least 1.2" - -- To keep people from uploading packages most users cannot use. + -- To keep people from uploading packages most users cannot use. Disabled for now. +{- unless (specVer <= CabalSpecV3_6) $ throwError "'cabal-version' must be at most 3.6" +-} -- | The issue is that browsers can upload the file name using either unix -- or windows convention, so we need to take the basename using either