add . to parsing

This commit is contained in:
Dennis Eichhorn 2020-07-29 23:53:19 +02:00
parent 6498a82a1e
commit a827355688

View File

@ -189,7 +189,7 @@ export class UriFactory
static build (uri, toMatch) static build (uri, toMatch)
{ {
const current = HttpUri.parseUrl(window.location.href); const current = HttpUri.parseUrl(window.location.href);
let parsed = uri.replace(new RegExp('\{[\/#\?%@\.\$][a-zA-Z0-9\-]*\}', 'g'), function (match) let parsed = uri.replace(new RegExp('\{[\/#\?%@\.\$\!][a-zA-Z0-9\-\#\.]*\}', 'g'), function (match)
{ {
match = match.substr(1, match.length - 2); match = match.substr(1, match.length - 2);