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

Follow redirects #2

Closed
malcomio opened this issue Oct 4, 2016 · 4 comments
Closed

Follow redirects #2

malcomio opened this issue Oct 4, 2016 · 4 comments

Comments

@malcomio
Copy link

malcomio commented Oct 4, 2016

currently the tool fails if the URLs are redirected, e.g. from http to https

it would be good to follow redirects, and/or enable a mixture of http and https paths within the same sitediff.yaml file

@vasi
Copy link
Contributor

vasi commented Oct 6, 2016

Hmm, that's weird! We configure Typhoeus to follow redirects:

:followlocation => true, # Follow HTTP redirects (code 301 and 302)

@jaqx0r
Copy link
Contributor

jaqx0r commented Apr 2, 2018

I wonder if @malcomio 's problem was a <meta> tag redirect, not a HTTP server redirect. Site generators like Hugo emit .html files for redirects that would return a 200 OK and not look like a redirect by sitediff.

@malcomio
Copy link
Author

malcomio commented Apr 2, 2018

Looking at the date of my comment, I think that the site I was testing is built on Drupal 7

as far as I'm aware (and from the tests I've done using curl), the redirects are in HTTP headers:
https://cgit.drupalcode.org/securepages/tree/securepages.module#n203

@jigarius jigarius changed the title follow redirects Follow redirects Jul 18, 2019
@cleaver
Copy link
Contributor

cleaver commented May 22, 2020

This is old and I can't duplicate. Closing, but feel free to reopen if there's still an issue.

@cleaver cleaver closed this as completed May 22, 2020
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

No branches or pull requests

4 participants