Mise à jour de GitLab prévue ce samedi 23 octobre 2021 à partir de 9h00 CET

Commit 50d29e79 authored by Éloïs's avatar Éloïs
Browse files

[fix] authorize ._- in software name and authorize - in software version

parent 9fe597ee
......@@ -18,8 +18,8 @@ const POSITIVE_INT = "[1-9][0-9]{0,18}"
const TIMESTAMP = "[1-9][0-9]{0,18}"
const BOOLEAN = "[01]"
const WS2PID = "[0-9a-f]{8}"
const SOFTWARE = "[a-z0-9]{2,15}"
const SOFT_VERSION = "[0-9a-z.-_]{2,15}"
const SOFTWARE = "[a-z0-9._-]{2,15}"
const SOFT_VERSION = "[0-9a-z._-]{2,15}"
const POW_PREFIX = "([1-9]|[1-9][0-9]|[1-8][0-9][0-9])" // 1-899
const SPECIAL_BLOCK = '0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855'
const META_TS = "META:TS:" + BLOCK_UID
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment