Logo
Explore Help
Register Sign In
lee/heritrix3
Watch 1
Star 0 Fork 0
mirror of https://github.com/internetarchive/heritrix3.git synced 2026-10-07 21:01:24 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
0dc95ab7f744154818accb111c4086787db2eaeb
heritrix3/modules/src
T
History
Eric Leclerc 5f431de215 Update to ExtractorHTML.java for cond. comments
Lot's of websites are using "Downlevel Revealed" conditional comments with a twist to have a page with valid html. this is an update to the RegEx to allow such a case. ex:

    <!--[if expression]><!-->
      HTML
    <!--<![endif]-->

- reference: https://css-tricks.com/downlevel-hidden-downlevel-revealed/
- reference: http://www.sitepoint.com/web-foundations/internet-explorer-conditional-comments/
- example site where this type of tag can be found: https://www.canada.ca/index.html
2016-02-17 14:49:50 -05:00
..
main
Update to ExtractorHTML.java for cond. comments
2016-02-17 14:49:50 -05:00
test
Simplify logic for urls with spaces, and make it better follow the pattern of UriUtils.isVeryLikelyUri(). Involves a subtle adjustment to the regex LIKELY_RELATIVE_URI_PATTERN to ensure the 2nd capturing group always gets the file extension. Also add a couple of tests of strings with spaces and file extensions that are not known good extensions.
2016-02-09 15:02:11 -08:00
Powered by Gitea Version: 28.0.0 Page: 497ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API