Page MenuHomePhabricator

For checkIfDead::processResult(), only check for redirect to root if the URL has content after the domain name
Closed, ResolvedPublic1 Estimated Story Points

Description

It looks like a common false positive for Cyberbot II is:
http://www.domain.com/ -> http://domain.com/
or
http://domain.com/ -> http://www.domain.com/
To avoid this, we should only check for redirects if the URL has content after the domain name, i.e. http://www.domain.com/something.

We should also create tests for this. Some potential test cases:
http://astraldynamics.com
http://www.astralbob.com

Event Timeline

Niharika set the point value for this task to 1.
Niharika moved this task from Ready to Needs Review/Feedback on the Community-Tech-Sprint board.