Sfoglia il codice sorgente

add "< | >" to restrictedPatternsToCreate

Shun Miyazawa 2 anni fa
parent
commit
5de457cb3f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/core/src/utils/page-path-utils/index.ts

+ 1 - 1
packages/core/src/utils/page-path-utils/index.ts

@@ -100,7 +100,7 @@ export const isSharedPage = (path: string): boolean => {
 };
 };
 
 
 const restrictedPatternsToCreate: Array<RegExp> = [
 const restrictedPatternsToCreate: Array<RegExp> = [
-  /\^|\$|\*|\+|#|%|\?/,
+  /\^|\$|\*|\+|#|<|>|%|\?/,
   /^\/-\/.*/,
   /^\/-\/.*/,
   /^\/_r\/.*/,
   /^\/_r\/.*/,
   /^\/_apix?(\/.*)?/,
   /^\/_apix?(\/.*)?/,