From ea19987b009456127463c4577ee8631654a81d38 Mon Sep 17 00:00:00 2001 From: messense Date: Mon, 15 Feb 2021 12:48:04 +0800 Subject: [PATCH] Escape version in wheel metadata --- src/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metadata.rs b/src/metadata.rs index 036f89209..f5a45ef5e 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -163,7 +163,7 @@ impl Metadata21 { let mut fields = vec![ ("Metadata-Version", self.metadata_version.clone()), ("Name", self.name.clone()), - ("Version", self.version.clone()), + ("Version", self.get_version_escaped()), ]; let mut add_vec = |name, values: &[String]| {