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

Added functionality back with improvements. #3

Closed
wants to merge 3 commits into from
Closed

Added functionality back with improvements. #3

wants to merge 3 commits into from

Conversation

StephanStanisic
Copy link
Contributor

So I always found it interesting that the summernote editor didn't have an file selector build in. I later found the original repo by prakai and learned that it had a serious vulnerability, so the functionality was removed.

I later read WonderCMS/wondercms#125 and ever since it has been tickling my mind.

So here it is: my proposal to integrate this into summernote again. I added an login/token check into file.php, so that should be safe from outsiders.

I didn't dare to touch most of this code, it's a nice big pile (like most WonderCMS plugins) and (for me) unreadable. This pull request is here to get some more review done on this code from prakai.

I also touched some things up left and right, things like moving the old font awesome icons over etc.

@StephanStanisic
Copy link
Contributor Author

Something that might be good to try is to use the build in WonderCMS upload script for uploading the files. This way there is only a single front to attack on.

@robiso
Copy link
Owner

robiso commented Apr 24, 2020

@StephanStanisic any updates since the last time we worked on the fix together?
Would you like me to implement the "safety fix"?

@StephanStanisic StephanStanisic closed this by deleting the head repository Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants