[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 committed 2011-12-22 19:04:19 -08:00
1 parent a4380db177
commit 4ffb6865e1
1 file changed
+1 -1
@@ -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 "";