-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
fix(package upload): content of uploaded packages is now not permanently stored in the system #289
Conversation
sr258
commented
Nov 26, 2019
•
edited
Loading
edited
- change signatures of PackageImporter to return metadata and parameters instead of contentId
- implement logic to copy content files to temporary storage
…tly stored in the system
Turns out the POST request to the 'filter' Ajax endpoint invokes some method of H5PContentValidator in the PHP implementation, which is a 1340 lines long class doing lots of stuff... I don't want to implement this right away, but have a closer look at what this is doing. At the moment, I simply don't "filter" the parameters but return them. Uploading packages works fine, though, but maybe things aren't as safe as we want them to be. |
Closes #278 |
Rerunning the tests worked... weird. |
🎉 This PR is included in version 0.10.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |