Git Product home page Git Product logo

Comments (6)

binarykitchen avatar binarykitchen commented on May 23, 2024

To reproduce: Go to https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_checkbox

then use this HTML

<!DOCTYPE html>
<html>
<body>
<form action="/action_page.php" method="get">
  <input type="text" name="test" value="Bike">
  <input type="text" name="test" value="Bike2">
  <input type="text" name="test" value="Bike3">
  <input type="text" name="test" value="Bike4">
  <input type="submit" value="Submit">
</form>
</body>
</html>

that will yield test=Bike&test=Bike2&test=Bike3&test=Bike4

from form-urlencoded.

iambumblehead avatar iambumblehead commented on May 23, 2024

@binarykitchen I'm not sure when I will be available to look into this. Is it an important issue for you?

Do you think the change would be safe for packages using this package?

from form-urlencoded.

binarykitchen avatar binarykitchen commented on May 23, 2024

@iambumblehead i think this will become a breaking change. recommend a new version with that behaviour and to add new options for those who want the old behaviour.

yep, important here. i could do a PR today to speeden things up. would you accept that?

from form-urlencoded.

iambumblehead avatar iambumblehead commented on May 23, 2024

@binarykitchen that's very kind of you. Yes, a PR with a test would be accepted.

from form-urlencoded.

binarykitchen avatar binarykitchen commented on May 23, 2024

@iambumblehead lol, forget it. discovered a hidden parameter skipBracket in your code. works now for me. maybe you should document it one day ...

from form-urlencoded.

iambumblehead avatar iambumblehead commented on May 23, 2024

I'm sorry for your trouble @binarykitchen. yes it should be documented.

from form-urlencoded.

Related Issues (19)

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.