Browse Source

add missed regex replacement rule

main
ghost 2 years ago
parent
commit
e6b1e8029c
  1. 6
      library/robots.php

6
library/robots.php

@ -86,11 +86,13 @@ class Robots { @@ -86,11 +86,13 @@ class Robots {
return str_replace(
[
'*',
'?'
'?',
'+'
],
[
'.*',
'\?'
'\?',
'\+'
],
$string
);

Loading…
Cancel
Save