Firefox Truncates Blob URL Download Name when Blob Filename has Spaces
(Doc ID 1921073.1)
Last updated on APRIL 03, 2023
Applies to:
Oracle WebCenter Sites - Version 11.1.1.8.0 and laterInformation in this document applies to any platform.
Symptoms
Behavior:
After creating a Blob URL marked as downloadable and attempting to download a file containing a space in the name, the file is downloaded bug the filename is truncated at the space in the name.
- e.g. a blob file with the name My Doc.pdf becomes My.pdf.
Steps taken:
1. Login to Admin UI for FirstSiteII
2. Create a new Blob URL for the Document_C asset type:
a) Under Admin tab, expand Asset Types-->Document_C-->URL Pattern and click Add new
b) Click Blob radio button
c) Enter information:
Name: TestBlobUrl
Site: FirstSiteII
Host: http://{hostname:port}/sites/fsii
Subtype: FSII Document
Field: FSIIDocumentFile
Is Downloadable: checked
Blob Headers:
Pattern: documents/${id}
d) save the Blob url
3. Go to Contributor UI and create a new Document_C asset:
a) enter the information
Name: TestDocBlob
Document File: My Test.pdf
b) save the Document_C asset
4. Test the blob url for this newly created Document_C asset:
a) Click the URL tab for the newly created Document_C asset
b) Select the URL in the Blob URLs section
c) Run the url in the browser
Observed behavior: The document is prompted for save as My.pdf
The following are the http response headers for the above request:
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |