diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a18b44..194d877 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [4.0.5](https://github.com/troch/path-parser/compare/v4.0.4...v4.0.5) (2018-05-14) + + +### Bug Fixes + +* allow equal signs in parameters (commonly found at the end of base 64 encoded strings) ([5c98fb6](https://github.com/troch/path-parser/commit/5c98fb6)) + + + ## [4.0.4](https://github.com/troch/path-parser/compare/v4.0.3...v4.0.4) (2018-04-09) diff --git a/dist/cjs/path-parser.js b/dist/cjs/path-parser.js index 190064a..466e5e4 100644 --- a/dist/cjs/path-parser.js +++ b/dist/cjs/path-parser.js @@ -28,7 +28,9 @@ var __assign = Object.assign || function __assign(t) { }; var defaultOrConstrained = function (match) { - return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|]+") + ')'; + return '(' + + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|=]+") + + ')'; }; var rules = [ { diff --git a/dist/es/path-parser.js b/dist/es/path-parser.js index 9e65996..aa2611f 100644 --- a/dist/es/path-parser.js +++ b/dist/es/path-parser.js @@ -24,7 +24,9 @@ var __assign = Object.assign || function __assign(t) { }; var defaultOrConstrained = function (match) { - return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|]+") + ')'; + return '(' + + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|=]+") + + ')'; }; var rules = [ { diff --git a/package.json b/package.json index 70124d3..0b61101 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "path-parser", - "version": "4.0.4", + "version": "4.0.5", "description": "A small utility to parse, match and generate paths", "main": "dist/cjs/path-parser.js", "jsnext:main": "dist/es/path-parser.js",