decode-uri-component.js 274 B

12345678
  1. var decodeUriComponent = require("decode-uri-component")
  2. function customDecodeUriComponent(string) {
  3. // `decodeUriComponent` turns `+` into ` `, but that's not wanted.
  4. return decodeUriComponent(string.replace(/\+/g, "%2B"))
  5. }
  6. module.exports = customDecodeUriComponent