Forum Discussion

bleenders's avatar
bleenders
Copper Contributor
Jun 27, 2022

Edge is changing file extensions when there are query params in the URL of the file

This might be an Edge case, pun intended.
We are a software company, on our website customers and community members download our software. So, last week we implemented Google Analytics version 4. Today we were notified that when downloading certain files from our website MS Edge was changing the file extension.
File extensions were being changed as soon as they hit the download button. This seemed to be happening whenever someone downloads file with the .cma extension. The extension is being changed to .gz.
I traced the problem back to to the cross domain query params that Google  Analytics 4 is adding to links on our website. Without the query params it works just fine. It also seems to be affecting only Microsoft Edge. After further testing it seems that Edge is changing the file extension whenever there is a ? in the URL of the file that is being downloaded. This also only happens to files with the extension .cma. Other custom file extensions like .cfw are not affected.

I would love to know the reason why this is happening, and why only to this specific file extension.

Best regards,

 

No RepliesBe the first to reply

Resources