Forum Discussion
ASPX extension is getting mangled
Hello All,
We have a document library that contains some ASPX files.
In the past we have been able to upload these files normally and when opened they provide the expected functionality.
However, recently, our ASPX file names are being changed to include a query parameter (e.g. "story.aspx?d=wccb138f4041948d281908c2278103ca9")
This is preventing the files from loading properly (since the extension is no longer ".aspx").
I suspect that this is a problem with our new Proofpoint solution, but I want to see if anyone has experience filename mangling when uploading to SP O365.
Any insights are appreciated.
Thank you,
-tomas
4 Replies
- JaredMatfessIron ContributorHi Tomas,
Could you please share a screenshot of an example? What happens when you try to rename the file from within the file properties in the Document Library?
Best regards,
-Jared- TheTomasCopper Contributor
JaredMatfess Here are some screen shots.
The file is an ASPX file on my workstation. Once it's uploaded, the link to the file looks like image 1. It has a query URL appended (may not be relevant?).
If I open the Rename dialog box (Image 2), the URL parameter is not present. Saving any change appends a query parameter.
When I click on the filename, rather than open the ASPX file, the link opens "download.aspx?UniqueId=<long URL id text>"
In the same library in another folder, the name does not include the query parameter and when clicking the file link, the system opens the ASPX file normally.
Where is the QueryParameter coming from?
Thanks,
-tomas
- JaredMatfessIron ContributorSo the d=[value] parameter is something I would expect to see if you're sharing the URL. It's providing instructions to open the link (technically the file) in the browser. Otherwise, a behavior could attempt to download the file.
If you do just "Copy Link" vs "Share" I wonder if that will provide you with the URL without the additional query parameter.
n the sharing URL will enable us to open the document in Office Online in a browser.