Hello @Fabio Cannas ,
I understand that you are unable to purge image which has a path containing whitespaces in Azure CDN (classic).
I discussed this issue with the Azure CDN Product Group team and found that this is a bug and below is the PG's response:
We identified the issue that is preventing the customer from purging paths with white spaces. The purge issue is only seen on the Azure Front Door POPs which have undergone the new platform update.
Purge paths containing characters which will be url or percentage encoded such as white spaces, are not handled correctly. The problem persists even if the purge paths contain characters that are url encoded, i.e., %20 instead of white space.
We will be tracking the fix for this issue, but we do not have an ETA. Until then the customer could use the work around to purge the entire directory using wildcard. We understand that this is not favorable to the customer, but we will work on the fix soon.
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.