From eedbf3f36d2cbf1ae341d7193274cc5d5921c046 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 15 Mar 2020 09:29:04 +0100 Subject: [PATCH] fixes Orange-Management/phpOMS#239 --- Uri/UriFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Uri/UriFactory.js b/Uri/UriFactory.js index dbcf79f..9774e5b 100644 --- a/Uri/UriFactory.js +++ b/Uri/UriFactory.js @@ -144,7 +144,7 @@ export class UriFactory let pars = []; for (const a in comps) { - if (comps.hasOwnProperty(a)) { + if (comps.hasOwnProperty(a) && comps[a] !== '' && comps[a] !== null) { pars.push(a + '=' + comps[a]); } }