We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28d8e86 + 275d594 commit de27e88Copy full SHA for de27e88
src/robot.rs
@@ -247,5 +247,6 @@ mod test {
247
assert_eq!(true, allow_access("User-agent: Xbot\nDisallow: /z", "XBot/3.2.1", "/"));
248
assert_eq!(true, allow_access("User-agent: Xbot\nDisallow: /z", "XBot/3.2.1", "/w"));
249
assert_eq!(false, allow_access("User-agent: Xbot\nDisallow: /", "XBot", "/"));
250
+ assert_eq!(false, allow_access("User-agent: Xbot\nDisallow: /", "xbot", "/"));
251
}
252
0 commit comments