winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f4e41a03d8546b95991ef1aa75ea5a5ec8fb95e3
parent 4c5f492411cf7574e82072e134ff182f0f0e9b81
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date:   Tue,  4 May 2021 16:13:29 -0700

Set url max length to 2048 (#928)


Diffstat:
Mschemas/JSON/manifests/preview/manifest.0.1.0.json | 4++--
Mschemas/JSON/manifests/v1.0.0/manifest.defaultLocale.1.0.0.json | 2+-
Mschemas/JSON/manifests/v1.0.0/manifest.installer.1.0.0.json | 1+
Mschemas/JSON/manifests/v1.0.0/manifest.locale.1.0.0.json | 2+-
Mschemas/JSON/manifests/v1.0.0/manifest.singleton.1.0.0.json | 3++-
5 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/schemas/JSON/manifests/preview/manifest.0.1.0.json b/schemas/JSON/manifests/preview/manifest.0.1.0.json @@ -34,7 +34,7 @@ "Url": { "type": [ "string", "null" ], "pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$", - "maxLength": 2000 + "maxLength": 2048 }, "Homepage": { "$ref": "#/definitions/Url", @@ -108,7 +108,7 @@ "Url": { "type": "string", "pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$", - "maxLength": 2000, + "maxLength": 2048, "description": "Url is required. The path to the installer." }, "Sha256": { diff --git a/schemas/JSON/manifests/v1.0.0/manifest.defaultLocale.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.defaultLocale.1.0.0.json @@ -6,7 +6,7 @@ "Url": { "type": [ "string", "null" ], "pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$", - "maxLength": 2000, + "maxLength": 2048, "description": "Optional Url type" }, "Tag": { diff --git a/schemas/JSON/manifests/v1.0.0/manifest.installer.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.installer.1.0.0.json @@ -307,6 +307,7 @@ "InstallerUrl": { "type": "string", "pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$", + "maxLength": 2048, "description": "The installer Url" }, "InstallerSha256": { diff --git a/schemas/JSON/manifests/v1.0.0/manifest.locale.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.locale.1.0.0.json @@ -6,7 +6,7 @@ "Url": { "type": [ "string", "null" ], "pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$", - "maxLength": 2000, + "maxLength": 2048, "description": "Optional Url type" }, "Tag": { diff --git a/schemas/JSON/manifests/v1.0.0/manifest.singleton.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.singleton.1.0.0.json @@ -24,7 +24,7 @@ "Url": { "type": [ "string", "null" ], "pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$", - "maxLength": 2000, + "maxLength": 2048, "description": "Optional Url type" }, "Tag": { @@ -318,6 +318,7 @@ "InstallerUrl": { "type": "string", "pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$", + "maxLength": 2048, "description": "The installer Url" }, "InstallerSha256": {