Skip to main content

Encoding Commas in the URL changes behaviour

Comments

3 comments

  • Raz Ziv

    Hi Endjin,

    Commas can indeed be encoded in Cloudinary URLs in most places without any issues. However, in conjunction to f_auto, existing commas should remain unencoded at the moment. 
    Nevertheless, there is a quick and easy workaround for this. Just replace the comma that is after f_auto with a solidus (slash - /) sign and it will work:

    https://res.cloudinary.com/endjin/image/upload/f_auto/q_70%2Cw_512/v1590614405/assets/images/blog/2020/05/header-depositing-cheques-via-a-mobile-banking-experience-1024px.png

    f_auto can be placed anywhere in the URL, in its own component, or along with other transformation parameters in the same component. Therefore, this can easily be fixed by avoiding the comma next to it altogether.

    Cheers,
    Raz

    0
  • endjin

    Excellent! Thanks Raz!

    0
  • Raz Ziv

    My pleasure, glad I could help ;)

    Best,
    Raz

    0

Post is closed for comments.