We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67c3c38 commit 3502885Copy full SHA for 3502885
api/utils.js
@@ -35,7 +35,7 @@ const kConfigErr = Symbol('configuration error');
35
function noop() {}
36
37
function parsePathParam(param) {
38
- if (param == null) return null;
+ if (param == null || param === '') return null;
39
return encodeURIComponent(param);
40
}
41
0 commit comments