Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
2ce7807c
Commit
2ce7807c
authored
15 years ago
by
Callum Prentice
Browse files
Options
Downloads
Patches
Plain Diff
Fix for EXT-5960 (Store media cookies per user rather than per viewer)
Reviewed by RN and MW
parent
458895a7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llviewermedia.cpp
+13
-0
13 additions, 0 deletions
indra/newview/llviewermedia.cpp
with
13 additions
and
0 deletions
indra/newview/llviewermedia.cpp
+
13
−
0
View file @
2ce7807c
...
...
@@ -1229,6 +1229,19 @@ LLPluginClassMedia* LLViewerMediaImpl::newSourceFromMediaType(std::string media_
std
::
string
user_data_path
=
gDirUtilp
->
getOSUserAppDir
();
user_data_path
+=
gDirUtilp
->
getDirDelimiter
();
// Fix for EXT-5960 - make browser profile specific to user (cache, cookies etc.)
// If the linden username returned is blank, that can only mean we are
// at the login page displaying login Web page or Web browser test via Develop menu.
// In this case we just use whatever gDirUtilp->getOSUserAppDir() gives us (this
// is what we always used before this change)
std
::
string
linden_user_dir
=
gDirUtilp
->
getLindenUserDir
();
if
(
!
linden_user_dir
.
empty
()
)
{
// gDirUtilp->getLindenUserDir() is whole path, not just Linden name
user_data_path
=
linden_user_dir
;
user_data_path
+=
gDirUtilp
->
getDirDelimiter
();
};
// See if the plugin executable exists
llstat
s
;
if
(
LLFile
::
stat
(
launcher_name
,
&
s
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment