mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-14 18:00:49 +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:
1 parent
a1e9d064da
commit
58d2a2ec31
1 file changed
+1
-1
@@ -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