enhance: ページslugに使用可能な文字を限定 (#15395)
* wip * paramの正規表現で弾くように * apiWithDialogを使用するように * Update CHANGELOG.md --------- Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
parent
904da7bad6
commit
fbc6d0de54
7 changed files with 60 additions and 85 deletions
|
|
@ -118,3 +118,5 @@ export class MiPage {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const pageNameSchema = { type: 'string', pattern: /^[^\s:\/?#\[\]@!$&'()*+,;=\\%\x00-\x20]{1,256}$/.source } as const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue