Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1392 posts 3244 karma points c-trib
    3 days ago
    Simon Dingley
    0

    Encode Ampersands in Social Media Image Urls

    Hi Richard,

    I have a customer who needs a high accessibility ranking due to it being a public service site and we have made great efforts to achieve an almost 10/10 score.

    There is one item that has recently come to light that is flagging as something that needs addressing in regards to the HTML quality and that item is the fact that the Social Media Image urls are being output with unencoded ampersands. Is there anything that can be done to ensure they are output as encoded ampersands e.g.

    /media/1004/myimage.jpg?mode=crop&width=1200&height=630
    

    instead of ...

    media/1004/acceptance-art-1146851.jpg?mode=crop&width=1200&height=630
    

    I'm not sure there is safe workaround in the interim?

    Thanks, Simon

  • Richard Soeteman 3614 posts 11024 karma points MVP
    3 days ago
    Richard Soeteman
    0

    Hi Simon,

    I believe I did that before and that was causing issues with preview in Facebook etc. Will have to check..

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft