Skip to content

ANW-2353: Fix mixed content handling across public and frontend#3509

Merged
thimios merged 1 commit intomasterfrom
ANW-2353-pui-mixed-content-not-handled-properly
Apr 14, 2025
Merged

ANW-2353: Fix mixed content handling across public and frontend#3509
thimios merged 1 commit intomasterfrom
ANW-2353-pui-mixed-content-not-handled-properly

Conversation

@brianzelip
Copy link
Copy Markdown
Collaborator

@brianzelip brianzelip commented Apr 9, 2025

This PR fixes mixed content being mishandled in multiple places throughout the PUI.

Moving the mixed_content_parser require from public/app/views/digital_objects/_linked_instances.html.erb to public/app/views/shared/_mixed_content_link.html.erb fixed a bug that was exposed in local development but not in production where the app crashed due to MixedContentParser not being available.

The tests for mixed content display will come after this PR (via ANW-2360)

ANW-2353

Problem

See ANW-2353 for more examples

Frontend example

Screenshot 2025-04-10 at 6 42 27 AM

Public example

Screen Shot 2025-04-08 at 15 39 18-fullpage

Solutions

Screen Shot 2025-04-08 at 15 39 18-fullpage

Screen Shot 2025-04-09 at 06 12 21-fullpage

Screen Shot 2025-04-09 at 06 15 40-fullpage

@brianzelip brianzelip marked this pull request as draft April 9, 2025 10:08
@brianzelip brianzelip added this to the 4.0.1 milestone Apr 9, 2025
@brianzelip brianzelip changed the title ANW-2353: Fix mixed content handling across PUI ANW-2353: Fix mixed content handling across public and frontend Apr 10, 2025
@brianzelip brianzelip force-pushed the ANW-2353-pui-mixed-content-not-handled-properly branch from e6757ba to e74d28f Compare April 11, 2025 15:08
@brianzelip brianzelip marked this pull request as ready for review April 11, 2025 15:11
@brianzelip brianzelip requested a review from thimios April 11, 2025 15:12
@thimios thimios merged commit b80b235 into master Apr 14, 2025
22 of 23 checks passed
@thimios thimios deleted the ANW-2353-pui-mixed-content-not-handled-properly branch April 14, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants