We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$t1gor = new t1gor\RobotsTxtParser\RobotsTxtParser(<<<TXT user-agent:* disallow:/ TXT ); var_dump($t1gor->isAllowed('/'));
Output: bool(true) Expected: bool(false)
bool(true)
bool(false)
Quote
Valid robots.txt lines consists of a field, a colon, and a value. Spaces are optional, but recommended to improve readability.
Source: https://developers.google.com/search/docs/advanced/robots/robots_txt#syntax
The text was updated successfully, but these errors were encountered:
t1gor
No branches or pull requests
Output:
bool(true)
Expected:
bool(false)
Quote
Source: https://developers.google.com/search/docs/advanced/robots/robots_txt#syntax
The text was updated successfully, but these errors were encountered: