Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CheckIfDead to v1.8 #35

Merged
merged 6 commits into from
May 23, 2019
Merged

Conversation

cyberpower678
Copy link
Collaborator

*Updated UA to use more modern Chrome browser
*Added TOR support for onion URLs.
*Full checks now directly check the destination URLs if the requested URLs redirect as the headers are not passed thru to the destination URL requests.
*Added checks.

*Updated UA to use more modern Chrome browser
*Added TOR support for onion URLs.
*Full checks now directly check the destination URLs if the requested URLs redirect as the headers are not passed thru to the destination URL requests.
*Added checks.
Fix tests
This test constantly fails on Travis but passes elsewhere.
Fix issues brought up by Code Sniffer
@cyberpower678 cyberpower678 merged commit 34d75ed into wikimedia:master May 23, 2019
@@ -373,14 +469,14 @@ protected function getCurlOptions( $url, $full = false ) {
// Emulate a web browser request but make it accept more than a web browser
$header = [
// @codingStandardsIgnoreStart Line exceeds 100 characters
'Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I'm not sure it matters, "image/apng" looks like a typo.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what I copied out of Safari. I honestly don't think it matters that much but we can change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants