scitran / core

RESTful API
https://scitran.github.io
MIT License
18 stars 18 forks source link

Fix missing origin on download #1041

Closed nagem closed 6 years ago

nagem commented 6 years ago

Ticketed downloads do not use auth channels (other than the ticket itself and verifying matching ip), leaving origin blank. This change requires origin on all download tickets and uses the set origin in the ticket to log access. Tests have been updated to look for proper origin on all access logs.

codecov-io commented 6 years ago

Codecov Report

Merging #1041 into master will increase coverage by 0.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1041      +/-   ##
==========================================
+ Coverage    90.7%   90.72%   +0.01%     
==========================================
  Files          50       50              
  Lines        6802     6800       -2     
==========================================
- Hits         6170     6169       -1     
+ Misses        632      631       -1