ekalinin / robots.js

Parser for robots.txt for node.js
MIT License
66 stars 21 forks source link

'Allow all' statement or blank line returns true for disallowed URLs #19

Open sanderheilbron opened 9 years ago

sanderheilbron commented 9 years ago

When a Allow: / statement or blank line precedes a Disallow: /foo statement, the Disallow: /foo statement always returns true.

Unfortunately this does not match how Google interprets a robots.txt file.