mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-24 14:45:56 +00:00
in CrawlURI.createCrawlURI(), avoid clobbering inherited data with data from Link
This commit is contained in:
@@ -1633,10 +1633,10 @@ implements Reporter, Serializable, OverlayContext {
|
||||
CrawlURI newCaURI = new CrawlURI(u,
|
||||
extendHopsPath(getPathFromSeed(),link.getHopType().getHopChar()),
|
||||
getUURI(), link.getContext());
|
||||
newCaURI.inheritFrom(this);
|
||||
if (link.hasData()) {
|
||||
newCaURI.data = link.getData();
|
||||
}
|
||||
newCaURI.inheritFrom(this);
|
||||
return newCaURI;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user