[HER-1976] H3: query-portion ignored when checking against robots.txt rules (using only path)

* RobotsPolicy.java: use UURI.getPathQuery -- like H1 does
This commit is contained in:
Gordon Mohr
2011-12-22 19:04:19 -08:00
parent a4380db177
commit 4ffb6865e1
@@ -45,7 +45,7 @@ abstract public class RobotsPolicy {
public String getPath(CrawlURI curi) {
try {
return curi.getUURI().getPath();
return curi.getUURI().getPathQuery(); // TODO rename method and change callers; add test
} catch (URIException e) {
// unlikely
return "";