ArmyCyberInstitute / cmgr

CTF Challenge Manager
Apache License 2.0
17 stars 9 forks source link

Add fixes for per-artifact download access #16

Closed dmartin closed 3 years ago

dmartin commented 3 years ago

Makes a few small tweaks to fix things that prevented access to artifact downloads.

I think there may be a few other places where if len(path) < n checks might be off-by-one due to a leading empty string in the split path slice, but I was only really looking at artifactsHandler for this PR.