Broken photo for id like "zcrm_12345"

I was finally able to reproduce

The problem is the first underscore, if you use zcrm3111820000009782007_photo it works.

It’s a bug in download.php I’ll try to provide a quick fix soon

@pgr
Thanks for your reply and your help
I will wait for news from you

Here you go, this should do it, apply these changes manually:

–> https://github.com/salesagility/SuiteCRM/compare/hotfix-7.10.x...pgorod:patch-9?diff=split

Or if it’s easier for you, just replace your entire download.php file with these new contents:

–> https://github.com/pgorod/SuiteCRM/blob/patch-9/download.php

I will put this up as a Pull Request next week when I find the time. :sweat_smile:

1 Like

@pgr
Thank you very much

I’ve tested your fix it works fine

:cool:

For reference, here is the PR: