mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-16 01:08:41 +00:00
add . to parsing
This commit is contained in:
parent
6498a82a1e
commit
a827355688
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user