@webtypen/webframez-core 0.0.45 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Router/Router.js +1 -1
- package/package.json +1 -1
- package/src/Router/Router.ts +1 -1
package/lib/Router/Router.js
CHANGED
|
@@ -226,7 +226,7 @@ class RouterFacade {
|
|
|
226
226
|
if (req && req.url && req.url.indexOf("?") > 0) {
|
|
227
227
|
const temp = req.url.substring(req.url.indexOf("?") + 1);
|
|
228
228
|
if (temp && temp.trim() !== "") {
|
|
229
|
-
const entries = temp.split("
|
|
229
|
+
const entries = temp.split("&");
|
|
230
230
|
for (let entry of entries) {
|
|
231
231
|
if (entry.indexOf("=") > 0) {
|
|
232
232
|
urlParams[entry.substring(0, entry.indexOf("="))] = entry.substring(entry.indexOf("=") + 1);
|
package/package.json
CHANGED
package/src/Router/Router.ts
CHANGED
|
@@ -270,7 +270,7 @@ class RouterFacade {
|
|
|
270
270
|
if (req && req.url && req.url.indexOf("?") > 0) {
|
|
271
271
|
const temp = req.url.substring(req.url.indexOf("?") + 1);
|
|
272
272
|
if (temp && temp.trim() !== "") {
|
|
273
|
-
const entries = temp.split("
|
|
273
|
+
const entries = temp.split("&");
|
|
274
274
|
for (let entry of entries) {
|
|
275
275
|
if (entry.indexOf("=") > 0) {
|
|
276
276
|
urlParams[entry.substring(0, entry.indexOf("="))] = entry.substring(
|