mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Webinterface: Escape . correctly in RegExp
This commit is contained in:
parent
73fb669fd8
commit
f91b2bc17e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ var SERVER = (location.protocol + '//' + location.hostname +
|
||||||
* @const
|
* @const
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
var ROOT_PATH = location.pathname.replace(new RegExp("/+[^/]+/*(/index\.html?)?$"), "") + '/';
|
var ROOT_PATH = location.pathname.replace(new RegExp("/+[^/]+/*(/index\\.html?)?$"), "") + '/';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* time between updates of collections (milliseconds)
|
* time between updates of collections (milliseconds)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue