Explorar el Código

forbid question mark

Steven Fukase hace 4 años
padre
commit
18cb24d0ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/lib/util/path-utils.js

+ 1 - 1
src/lib/util/path-utils.js

@@ -38,7 +38,7 @@ const isUserPage = (path) => {
 };
 
 const forbiddenPages = [
-  /\^|\$|\*|\+|#|%/,
+  /\^|\$|\*|\+|#|%|\?/,
   /^\/-\/.*/,
   /^\/_r\/.*/,
   /^\/_apix?(\/.*)?/,