Coder Social home page Coder Social logo

Comments (6)

NicoHood avatar NicoHood commented on August 24, 2024 2

Any update on this? This sounds important to me.

from grav-plugin-comments.

rhukster avatar rhukster commented on August 24, 2024 1

Fixed

from grav-plugin-comments.

rhukster avatar rhukster commented on August 24, 2024

I didn't write this one so can't speak to the code quality, but that does appear to be very unsafe as you say. I think this plugin has a variety of issues and could do with a thorough re-write. I will probably look at this one issue immediately though.

from grav-plugin-comments.

anton-mellit avatar anton-mellit commented on August 24, 2024

I added a pull request to grav-plugin-form with my workaround. Basically, it allows to set values of fields before the form is processed. I'm new here, I guess there is a better way to expose this functionality, let me know

from grav-plugin-comments.

rhukster avatar rhukster commented on August 24, 2024

There's really no reason to use this form-based path field to store the data. the current page is enough, and that's already whitelisted via the configuration. I have a fix for this that will be released shortly.

from grav-plugin-comments.

NicoHood avatar NicoHood commented on August 24, 2024

Thanks for taking a look at it again!

When posting a comment I still get the following error. I am not sure if this is related to my configuration or the code itself.
grafik

Edit: I had to configure or deactivate the email plugin properly. Now everything works as expected!

from grav-plugin-comments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.