zaidka / cliget

A Firefox addon to download login-protected files from the command line
https://addons.mozilla.org/en-US/firefox/addon/cliget/
Mozilla Public License 2.0
357 stars 57 forks source link

Stop erroneously tracking XHTML pages as downloads #55

Closed bonktree closed 6 years ago

bonktree commented 6 years ago

This PR stops cliget from falsely triggering on accessing XHTML Web pages that have "application/xhtml+xml" set as their Content-Type and do not explicitly set Content-Disposition. Examples include [1] and [2], as well as any gitweb instance.

[1] http://www.schillmania.com/content/entries/2004/10/24/application-xhtml+xml/ [2] http://git.altlinux.org/gears/s/sisyphus_check.git

zaidka commented 6 years ago

Thanks!