Giter VIP home page Giter VIP logo

Comments (4)

derhansen avatar derhansen commented on July 28, 2024 1

Fix will be included in the upcoming version 1.4.0

from form_crshield.

derhansen avatar derhansen commented on July 28, 2024

Thanks for your report.

When the form is submitted with a valid CR value but server side validation fails, the form is shown with the validation message but with the POSTed (and validated) CR value. The JavaScript then however performs the ROT13 calculation on the CR field again, resulting in the described problem.

This scenario can be catched in JavaScript, because a POSTed CR value does not contain any delay, which therefore is evaluated to undefined. I

from form_crshield.

derhansen avatar derhansen commented on July 28, 2024

@maxmishyn I created a fix for the issue and added acceptance tests to cover the scenario. Would you mind to test the fix, which has been pushed to the development branch?

from form_crshield.

maxmishyn avatar maxmishyn commented on July 28, 2024

Hi @derhansen. Thanks for that fast response/fix. I tried to fix it from the server's side as I was not sure if it is intended or not to validate challenge/response on repeated submits.
But the solution if JS is fine. Looks like it is working as it should now.

from form_crshield.

Related Issues (18)

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.