jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.12k stars 270 forks source link

Fix undefined args issue in deserializing form data. #214

Closed ajgagnon closed 5 years ago

ajgagnon commented 5 years ago

Love this library! I noticed an issue with the deserializing form data - entries couldn't be deserialized due to an incorrect argument name (probably a typo). "arg" should be "args".

Anyway, here's the pull request. Let me know what you think!

jpillora commented 5 years ago

Good catch, thanks!

ajgagnon commented 5 years ago

Very happy to contribute! Thanks for an awesome script!