mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-08-24 23:46:42 +00:00
70d21ca2da6603f0840004e399d47e020b4ec831
* ExtractorXML.java
instead of considering only strings that start with http(s):, consider all
strings that match UriUtils.NAIVE_LIKELY_URI_PATTERN (and, as before,
constitute the entirety of the xml tag content or attribute value)
* UriUtils.java
- NAIVE_LIKELY_URI_PATTERN - add quotes to the excluded characters so it
does not eat the closing quote when matching xml attribute values, and
make visibility public for use in ExtractorXML
- isLikelyUri() - refactor false positive check into new method
isLikelyFalsePositive() so that it can be used in ExtractorXML avoiding
redundant check against NAIVE_LIKELY_URI_PATTERN
Languages
Java
93.3%
HTML
2.6%
Rich Text Format
1.1%
JavaScript
1%
FreeMarker
0.8%
Other
1%