Giter Site home page Giter Site logo

Comments (11)

kevinmarks avatar kevinmarks commented on May 29, 2024 1

Oh dear. What a mess. @BenWard is there anything we can do to placate the
bird gods ?

On Wed, 7 Sep 2016, 22:31 gRegor Morrill, [email protected] wrote:

Well, this is getting weird. @kevinmarks https://github.com/kevinmarks's
http://t.co/cjiYwEZLiC returns a 301 where most t.co profile links I've
tested recently return a 200 with meta+javascript redirect. Christopher's
http://t.co/agsxcOcLry does the latter, so I do think this is #47
#47 and the rel-me
library probably needs to be updated to follow meta redirects. I found this
probable explanation
http://markpercival.tumblr.com/post/51560498133/hacking-https-http-referrers
for why Twitter is doing it that way.


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#52 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGCwPSANzFvN06PZcMHttkVk4tNOuy7ks5qn53KgaJpZM4J1aCS
.

from indiewebify-me.

gRegorLove avatar gRegorLove commented on May 29, 2024

Duplicate of #47

from indiewebify-me.

kevinmarks avatar kevinmarks commented on May 29, 2024

No, Twitter works fine with other sites, and lifewithalacrity.com doesn't work with github either

from indiewebify-me.

gRegorLove avatar gRegorLove commented on May 29, 2024

Hm. Perhaps it's something with case-sensitivity. It didn't work for gregorlove.com and I was pretty sure it failed for other domains at the time of the discussion in #47, which is what led me to dig into Twitter's response of 200 with a meta redirect + javascript redirect for some UA.

from indiewebify-me.

kevinmarks avatar kevinmarks commented on May 29, 2024

Another thought would be to return more info on why it failed than just
true/false. Specifically, finding a link without a rel-me on it is worth
notifying.

On 7 Sep 2016 10:45 am, "gRegor Morrill" [email protected] wrote:

Hm. Perhaps it's something with case-sensitivity. It didn't work for
gregorlove.com and I was pretty sure it failed for other domains at the
time of the discussion in #47
#47, which is what led
me to dig into Twitter's response of 200 with a meta redirect + javascript
redirect for some UA.

http://indiewebify.me/validate-rel-me/?url=http%3A%2F%2FgRegorLove.com
Tried both capitalizations; this one matches what's on Twitter, but still
fails.

http://indiewebify.me/validate-rel-me/?url=https%3A%
2F%2Faaronparecki.com still fails. Notably his URL on Twitter appears
to be http: not https:

http://indiewebify.me/validate-rel-me/?url=http%3A%2F%2Ftantek.com
still fails.

http://indiewebify.me/validate-rel-me/?url=http%3A%2F%2Fkevinmarks.com
works.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#52 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGCwPNgjxZFo2rbJfQJx1JqiXAFbnyIks5qnvg1gaJpZM4J1aCS
.

from indiewebify-me.

gRegorLove avatar gRegorLove commented on May 29, 2024

Well, this is getting weird. @kevinmarks's http://t.co/cjiYwEZLiC returns a 301 where most t.co profile links I've tested recently return a 200 with meta+javascript redirect. Christopher's http://t.co/agsxcOcLry does the latter, so I do think this is #47 and the rel-me library probably needs to be updated to follow meta redirects. I found this probable explanation for why Twitter is doing it that way.

from indiewebify-me.

gRegorLove avatar gRegorLove commented on May 29, 2024

I'm working on a PR to the rel-me library that will fall back to following meta-refresh redirects. Shouldn't be too hard; will follow up with results.

from indiewebify-me.

gRegorLove avatar gRegorLove commented on May 29, 2024

Alright, guess I chased that rabbit trail more than was necessary. After testing the rel-me library locally, I learned that cURLing the t.co links is returning the proper redirects. So it was just a case-sensitivity issue after all.

I verified the fix works for my stylized URL as well as Christopher's. @tantek's and @aaronpk's still fails, because they have t.co link which redirect to http. The rel-me library reports that their backlinks match but are not secure. Indiewebify.me requires both match and secure in order to pass the rel-me check. We could handle that better on indiewebify.me, but I'll leave that for a separate discussion/issue.

from indiewebify-me.

kevinmarks avatar kevinmarks commented on May 29, 2024

still failing for me: http://indiewebify.me/validate-rel-me/?url=lifewithalacrity.com

http://indiewebify.me/rel-me-links/?url1=http%3A%2F%2Fwww.lifewithalacrity.com%2F&url2=https%3A%2F%2Ftwitter.com%2FChristopherA

from indiewebify-me.

gRegorLove avatar gRegorLove commented on May 29, 2024

@aaronpk will need to deploy the rel-me updates to indiewebify.me

from indiewebify-me.

kevinmarks avatar kevinmarks commented on May 29, 2024

fixed now that gRegorLove redeployed it

from indiewebify-me.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.