This repository was archived by the owner on Jun 4, 2020. It is now read-only.
Minor cleanup and bug fixes#11
Open
remydagostino wants to merge 4 commits intojsonresume:masterfrom
Open
Conversation
Member
|
Yeah, those security issues are pretty high priority now that we are getting some traction. Will look at the changes later tonight, sounds pretty good though. Still overseas? |
Author
|
Thanks. I'm back in Brisbane for at least another week, maybe two. I'm not sure what the best way to handle the security issues would be. At this point though I think it might just be best to get them documented and clearly flag the unsafe functions so that some linux security wizard can come along and fix them. :) |
Member
|
any updates? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are some pretty big security holes in this lib. I would have liked to have fixed them up but I found the code was deeply nested and hard to work with. I've made some minor fixes to the structure - just extracting methods and removing some dependencies on shared scopes. I'm not perfectly happy with the result but I do think it moves us somewhat toward a code base that can be more easily worked on.
I also found a couple of bugs while I was working, which I believe I have fixed.
jsonresume-theme-favicon.ico.Other than the clean-up and those bug fixes there should not be any material changes to the behaviour of the theme manager. Moving forward I think we should talk about a more major restructuring of the code as the current implementation is very fragile and insecure.
This is my first open source contribution. Please be kind if I have made any faux pas.