mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-22 13:46:01 +00:00
copy to h3
Fix for [HER-1552] Redirects not reported in seeds-report
* ExtractorHTTP.java
restore expected convention of http-header context ending in ':'
This commit is contained in:
@@ -73,7 +73,7 @@ public class ExtractorHTTP extends Extractor {
|
||||
// TODO: consider possibility of multiple headers
|
||||
try {
|
||||
UURI dest = UURIFactory.getInstance(curi.getUURI(), loc.getValue());
|
||||
LinkContext lc = new HTMLLinkContext(loc.getName()); // FIXME
|
||||
LinkContext lc = new HTMLLinkContext(loc.getName()+":");
|
||||
Link link = new Link(curi.getUURI(), dest, lc, Hop.REFER);
|
||||
curi.getOutLinks().add(link);
|
||||
numberOfLinksExtracted++;
|
||||
|
||||
Reference in New Issue
Block a user