Comments (6)
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.
@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.
@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.
@binarykitchen that's very kind of you. Yes, a PR with a test would be accepted.
from form-urlencoded.
@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.
I'm sorry for your trouble @binarykitchen. yes it should be documented.
from form-urlencoded.
Related Issues (19)
- Regex becomes broken when uglified HOT 3
- Provide ES5 source? HOT 2
- encoded another language is wrong HOT 5
- skipIndex usage needs a fix HOT 2
- the change to exports.default breaks rollup, possibly other build tools HOT 12
- Differences between 2.07 and 2.04 HOT 9
- module field in package.json points to a non-existent file HOT 1
- form-urlencoded version 3.0.1 breaks older browsers as it returns untranspiled code HOT 15
- Name of the arrays always ends with [] HOT 4
- optional formatting for nested object HOT 4
- Should space be replaced as %20 or + sign? HOT 6
- Encoding differences with Postman HOT 1
- Disable the wiki HOT 6
- Using require default returns undefined in v4.5.0 HOT 2
- Brackets HOT 2
- URIError: Malformed encodeURI input HOT 6
- Bug: Issue with encoding spaces HOT 1
- Why Array data urlencoded need index number? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from form-urlencoded.