merge/resync-2025-09-08 #7
@@ -129,8 +129,9 @@ BuildOutput getBuildOutput(
|
||||
if (file == narMembers.end() ||
|
||||
file->second.type != SourceAccessor::Type::tRegular)
|
||||
continue;
|
||||
res.releaseName = trim(file->second.contents.value());
|
||||
// FIXME: validate release name
|
||||
auto contents = trim(file->second.contents.value());
|
||||
if (std::regex_match(contents, std::regex("[a-zA-Z0-9.@:_-]+")))
|
||||
res.releaseName = contents;
|
||||
}
|
||||
|
||||
/* Get metrics. */
|
||||
|
Reference in New Issue
Block a user