Comparing version 5.0.1 to 5.0.2
@@ -27,3 +27,3 @@ "use strict"; | ||
var parts = formPart.split('='); | ||
return form.withFormField(parts[0], decodeURIComponent(parts[1])); | ||
return form.withFormField(parts[0], decodeURIComponent(parts[1].replace(/\+/g, ' '))); | ||
}, form); | ||
@@ -30,0 +30,0 @@ }; |
@@ -19,3 +19,3 @@ import {FormJson, FormField} from "./HttpMessage"; | ||
const parts = formPart.split('='); | ||
return form.withFormField(parts[0], decodeURIComponent(parts[1])); | ||
return form.withFormField(parts[0], decodeURIComponent(parts[1].replace(/\+/g, ' '))); | ||
}, form); | ||
@@ -22,0 +22,0 @@ } |
{ | ||
"name": "http4js", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "A lightweight HTTP toolkit", | ||
@@ -14,3 +14,3 @@ "main": "dist/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/tomshacham/http4js.git" | ||
"url": "git+https://github.com/http4js/http4js.git" | ||
}, | ||
@@ -17,0 +17,0 @@ "author": "Tom Shacham", |
144568