Skip to content

Fix header regex.#115

Merged
kjg merged 1 commit into
mgomes:masterfrom
packrat386:fix_header_regex
Jul 5, 2016
Merged

Fix header regex.#115
kjg merged 1 commit into
mgomes:masterfrom
packrat386:fix_header_regex

Conversation

@packrat386

Copy link
Copy Markdown
Contributor

The previous regex would match any number of instances of any of the
supported SHA formats, e.g. SHA111. Instead of matching any number, we
want to match optionally one.

Also added some tests that this rejects invalid digest formats.

The previous regex would match any number of instances of any of the
supported SHA formats, e.g. SHA111. Instead of matching any number, we
want to match optionally one.

Also added some tests that this rejects invalid digest formats.
@kjg kjg merged commit be460d8 into mgomes:master Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants