Skip to content

Conversation

@tgodzik
Copy link

@tgodzik tgodzik commented Mar 11, 2025

Backports scala#22013 to the 3.3.6.

PR submitted by the release tooling.
[skip ci]

…g. (scala#22013)

If we detect scaladocs are being served locally
(i.e page on the "file" protocol)
then we let the link click event go back to normal handling.

Otherwise unless a user has allowed pages on the file protocol to access
other files

https://github.com/chromium/chromium/blob/b6c23ba2056e65081f8a5bcbf73b176baaa42645/content/public/common/content_switches.cc#L15
for example with the allow-file-access-from-files flag in chrome then
SPA routing won't work.

Fixes scala#19208.
[Cherry-picked 75ddad2]
@tgodzik tgodzik closed this Mar 11, 2025
@tgodzik tgodzik deleted the backport-lts-3.3-22013 branch March 11, 2025 11:33
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.

3 participants