|
|
@@ -70,14 +70,14 @@ const PageCreateModal = (props) => {
|
|
|
if (tmpTodayInput1 === '') {
|
|
|
tmpTodayInput1 = t('Memo');
|
|
|
}
|
|
|
- window.location.href = urljoin(userPageRootPath, tmpTodayInput1, now, todayInput2, '#edit');
|
|
|
+ window.location.href = encodeURI(urljoin(userPageRootPath, tmpTodayInput1, now, todayInput2, '#edit'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* access input page
|
|
|
*/
|
|
|
function createInputPage() {
|
|
|
- window.location.href = urljoin(pageNameInput, '#edit');
|
|
|
+ window.location.href = encodeURI(urljoin(pageNameInput, '#edit'));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -85,7 +85,7 @@ const PageCreateModal = (props) => {
|
|
|
*/
|
|
|
function createTemplatePage() {
|
|
|
const pageName = (template === 'children') ? '_template' : '__template';
|
|
|
- window.location.href = urljoin(parentPath, pageName, '#edit');
|
|
|
+ window.location.href = encodeURI(urljoin(parentPath, pageName, '#edit'));
|
|
|
}
|
|
|
|
|
|
return (
|