diff --git a/Netkan/Transformers/SpacedockTransformer.cs b/Netkan/Transformers/SpacedockTransformer.cs index a3d310621..805264d59 100644 --- a/Netkan/Transformers/SpacedockTransformer.cs +++ b/Netkan/Transformers/SpacedockTransformer.cs @@ -106,7 +106,7 @@ private Metadata TransformOne(Metadata metadata, JObject json, SpacedockMod sdMo // "GPLv3" - Becomes "GPL-3.0" // "LGPL" - Specific version is indeterminate - var sdLicense = sdMod.license.Trim(); + var sdLicense = sdMod.license.Trim().Replace(' ', '-'); switch (sdLicense) { diff --git a/Netkan/Validators/CkanValidator.cs b/Netkan/Validators/CkanValidator.cs index 4551d2a3d..2b26bc304 100644 --- a/Netkan/Validators/CkanValidator.cs +++ b/Netkan/Validators/CkanValidator.cs @@ -17,6 +17,7 @@ public CkanValidator(IHttpService downloader, IModuleService moduleService, IGam new IsCkanModuleValidator(), new DownloadArrayValidator(), new TagsValidator(), + new LicensesValidator(), new InstallsFilesValidator(downloader, moduleService, game), new MatchesKnownGameVersionsValidator(game), new ObeysCKANSchemaValidator(), diff --git a/Netkan/Validators/NetkanValidator.cs b/Netkan/Validators/NetkanValidator.cs index 802328351..266085295 100644 --- a/Netkan/Validators/NetkanValidator.cs +++ b/Netkan/Validators/NetkanValidator.cs @@ -17,7 +17,6 @@ public NetkanValidator() new KrefValidator(), new AlphaNumericIdentifierValidator(), new RelationshipsValidator(), - new LicensesValidator(), new KrefDownloadMutexValidator(), new DownloadVersionValidator(), new OverrideValidator(),