SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.94k stars 1.23k forks source link

HIGH URGENCY: PDFViewer is corrupted after 1.120.5 upgrade #3964

Closed cbsmerveguel closed 7 months ago

cbsmerveguel commented 7 months ago

UI5 version: 1.120.5

PDFViewer is corrupted after 1.120.5 upgrade.
Issue even can be observed immediately on SAP development samples page.

https://sapui5.hana.ondemand.com/1.120.5/#/entity/sap.m.PDFViewer/sample/sap.m.sample.PDFViewerEmbedded

This issue currently causing problems at customer side on prod systems. Please consider this ticket in high urgency.

Best, Merve

boghyon commented 7 months ago

You have to enable the PDFViewer's property isTrustedSource="true" explicitly due to security. C.f. https://github.com/SAP/openui5/issues/3946

boghyon commented 6 months ago

For future readers: cf. https://github.com/SAP/openui5/issues/3974#issuecomment-1948324140