Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(server): only append not empty allowed sources to csp #6771

Merged
merged 5 commits into from
Dec 16, 2019

Conversation

clarkdo
Copy link
Member

@clarkdo clarkdo commented Dec 9, 2019

Description

Skip string concatation and continue other logic if allowedSources is empty array

@clarkdo clarkdo requested a review from a team December 9, 2019 04:42
@codecov-io
Copy link

codecov-io commented Dec 10, 2019

Codecov Report

Merging #6771 into dev will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #6771   +/-   ##
=======================================
  Coverage   64.82%   64.82%           
=======================================
  Files          78       78           
  Lines        2718     2718           
  Branches      706      706           
=======================================
  Hits         1762     1762           
  Misses        729      729           
  Partials      227      227
Flag Coverage Δ
#e2e 100% <ø> (ø) ⬆️
#unit 64.82% <100%> (ø) ⬆️
Impacted Files Coverage Δ
packages/server/src/middleware/nuxt.js 97.36% <100%> (ø) ⬆️

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 112d836...bd20c64. Read the comment docs.

@pi0 pi0 changed the title refactor: only append not empty allowed sources to csp refactor(server): only append not empty allowed sources to csp Dec 16, 2019
@pi0 pi0 merged commit e999060 into dev Dec 16, 2019
@pi0 pi0 deleted the csp-allow-source branch December 16, 2019 20:16
@pi0 pi0 mentioned this pull request Dec 17, 2019
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants