GithubHelp home page GithubHelp logo

Comments (2)

essential-randomness avatar essential-randomness commented on June 28, 2024

For people looking for a fix, you can copy this custom plugin I developed: master...essential-randomness:iframely:tumblr-at-final

from iframely.

iparamonau avatar iparamonau commented on June 28, 2024

Thanks, and apologies for not paying attention. The Tumblr's URL shortener correctly redirects our cloud to the proper location, no need for that plugin. I feel that you might try playing with the proxy configuration as in PROXY:[...] and add for example curl as the user agent for app.link domain, and you'll get a proper redirect too.

In fact, I checked our config, and indeed we use Chrome UA as otherwise we get a in-app link redirects:

{
            re: [
                /^https?:\/\/(?:[^\/]+\.)?app\.link/i,
            ],
            user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36'
        }

If you're going to keep your plugin, please make sure you return cb(null); instead of simply return null;. I realize you have it just in case, but cb needs to be called even in that case too.

from iframely.

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.