Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kerox 2 posts 84 karma points
    May 17, 2022 @ 14:47
    Kerox
    0

    Image URL has an extra googleusercontent.com in email template

    Hi everyone, I want to change the default image in the Views/Forms/Emails/ExampleTemplate.cshtml file but the URL gets concatenated with some weird googleusercontent.com URL. As you can see, localhost is still there but I need to get rid of that Google thing and I can't figure it out where it comes from. enter image description here

    This is what the assetUrl looks like: enter image description here

    and this is how the path is composed: enter image description here

  • Gerhard Grossberger 55 posts 179 karma points
    May 20, 2022 @ 09:53
    Gerhard Grossberger
    0

    Are you sure that this is a template problem, and not caused by a mailclient or plugin on the website that you are using to preview?

    The "proxy" in the url looks suspiciously like some frontend injection.

    Best, Gerhard

  • Damian 69 posts 392 karma points
    May 20, 2022 @ 14:45
    Damian
    100

    I can confirm this is a thing that happens as @Kerox notes. It's something that comes from gmail itself, however, I can confirm by sending a password reset to my gmail and another to my mailbox.org account.

    Gmail proxies the image sources in attempt to boost security/privacy. When the image comes from a localhost or other, non-publicly reachable url, the proxy is broken and then so is the image.

Please Sign in or register to post replies

Write your reply to:

Draft