Merge pull request #2253 from stevvooe/allow-more-digest-alg-separators

reference: allow more than 1 digest algorithm separator
This commit is contained in:
Derek McGowan 2017-04-25 09:30:17 -07:00 committed by GitHub
commit e85ef3c019

View File

@ -15,7 +15,7 @@
// tag := /[\w][\w.-]{0,127}/
//
// digest := digest-algorithm ":" digest-hex
// digest-algorithm := digest-algorithm-component [ digest-algorithm-separator digest-algorithm-component ]
// digest-algorithm := digest-algorithm-component [ digest-algorithm-separator digest-algorithm-component ]*
// digest-algorithm-separator := /[+.-_]/
// digest-algorithm-component := /[A-Za-z][A-Za-z0-9]*/
// digest-hex := /[0-9a-fA-F]{32,}/ ; At least 128 bit digest value