Skip to content
New issue

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

Robotex does not follow redirects #7

Open
MothOnMars opened this issue May 4, 2018 · 0 comments
Open

Robotex does not follow redirects #7

MothOnMars opened this issue May 4, 2018 · 0 comments

Comments

@MothOnMars
Copy link

Robotex does not follow redirected robots.txt pages, which can result in pages erroneously appearing to be allowed?. Example:

In https://www.yelp.com/robots.txt:
Disallow: /biz_link

> robotex = Robotex.new "My User Agent"

> robotex.allowed?("https://www.yelp.com/biz_link")
false #correct

> robotex = Robotex.new "My User Agent"

> robotex.allowed?("http://www.yelp.com/biz_link")
true #incorrect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant