Skip to content

Strip leading slash from OCSP request if present#770

Merged
lziest merged 1 commit intocloudflare:masterfrom
rolandshoemaker:ocsp-string-leading
May 19, 2017
Merged

Strip leading slash from OCSP request if present#770
lziest merged 1 commit intocloudflare:masterfrom
rolandshoemaker:ocsp-string-leading

Conversation

@rolandshoemaker
Copy link
Copy Markdown
Contributor

Fixes certain issues we've seen in the wild. Based on the ASN.1 structure of OCSP requests we should never see a valid request that starts with a slash.

@codecov-io
Copy link
Copy Markdown

codecov-io commented May 19, 2017

Codecov Report

Merging #770 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #770      +/-   ##
==========================================
+ Coverage   57.67%   57.75%   +0.08%     
==========================================
  Files          78       78              
  Lines        6922     6924       +2     
==========================================
+ Hits         3992     3999       +7     
+ Misses       2513     2509       -4     
+ Partials      417      416       -1
Impacted Files Coverage Δ
ocsp/responder.go 73.22% <100%> (+4.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37c1a76...11bb839. Read the comment docs.

@lziest
Copy link
Copy Markdown
Contributor

lziest commented May 19, 2017

LGTM

@lziest lziest merged commit c9a961e into cloudflare:master May 19, 2017
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.

3 participants