Skip to content

Conversation

callumlinden
Copy link
Contributor

@callumlinden callumlinden commented Oct 8, 2025

Description

When visiting a site that is protected by HTTP Basic Auth, previous Viewer versions would delegate collection of username and password to the Viewer UI - both in 2D in a dialog and in 3D on a prim.

This behavior changed as of Viewer 7.2.2 after the inclusion of CEF v139 where a dialog (appears to be running in a separate process - task bar gets a new icon for each instance for example) is presented. You can still use it to enter the username and password for the site but it's (a) ugly and more importantly (b) a griefing vector - bad actors can create prims that spam URLs requiring basic auth and each will force this username/password dialog to be displayed.

This fix reverts that so that the Viewer is now responsible for presenting UI to deal with credential entry and behaves the same way it has done in the past.

Testing

Please test both in 2D (Media Floater at login page for example) and 3D (create a prim with one face set to a media texture) and visit these URLS:

Try both entering the correct and incorrect credentials (feedback will indicate success/failure).

Note that in 2D, you have enter the credentials twice. This has always been the case.

Details captured in https://github.com/secondlife/viewer-private/issues/489

Copy link
Collaborator

@brad-linden brad-linden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Geenz Geenz merged commit 95337df into release/2025.07 Oct 8, 2025
16 checks passed
@Geenz Geenz deleted the callum/2025.07-fix-489 branch October 8, 2025 19:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants