Hi. I apreciate if anyone can help me with this issue,
I have a flow that gathering several records from an excel table. There is a field in this table called path where a Sharepoint path to excel file is placed. This path is stored in a variable SiteAddres as shown in the attached image and then is used it for getting the corresponding file and finally storage in a local folder.
My issue is that this flow works only when i use Classic Experience Sharepoint Path format:
https://mysite.sharepoint.com/teams/Legacy ......
instead of
https://mysite.sharepoint.com/:x:/r/teams/Legacy ......
and the second issue is presented when using special characters in the target excel file name like:
This-is an example & file.xlsx
My ideal solution is to be able to use the Modern Site Path format and file name with special characters with no alterations or, if no possible add some string manipulation or conversion to make it compatible with my flow.
Thanks in advance for any help.

