Skip to content

Commit 25c8681

Browse files
f
1 parent a226ac5 commit 25c8681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Robots.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Robots.prototype.isDisallowed = function (url, ua) {
449449
Robots.prototype.isExplicitlyDisallowed = function(url, ua) {
450450
var rule = this._getRule(url, ua, true);
451451
if (typeof rule === 'undefined') {
452-
return undefined;
452+
return true;
453453
}
454454
return !(!rule || rule.allow);
455455
}

0 commit comments

Comments
 (0)