Hey all,
I want to add a hidden input field to the upload form created by the filebrowser plugin. Is there a cleaner way to do this besides just adding code to the dialog to go in and modify the form after it has been created? I would appreciate any thoughts on this.
Edit: I ended up doing the brute force way of modifying the DOM right before the form gets submitted. I would love to hear any opinions on how to do this right.
I want to add a hidden input field to the upload form created by the filebrowser plugin. Is there a cleaner way to do this besides just adding code to the dialog to go in and modify the form after it has been created? I would appreciate any thoughts on this.
Edit: I ended up doing the brute force way of modifying the DOM right before the form gets submitted. I would love to hear any opinions on how to do this right.
Re: Adding CSRF token to filebrowser upload form
I'm interested into this topic for quite some time, but i didn't hear of any clean way to implement a csrf protection into ckfinder.
Without it any application using ckfinder is vulnerable to file upload.