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
a2a9161e
Commit
a2a9161e
authored
14 years ago
by
Andrew A. de Laix
Browse files
Options
Downloads
Patches
Plain Diff
fix quoting of url in version check.
parent
064a8d07
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/viewer_components/updater/llupdatechecker.cpp
+7
-3
7 additions, 3 deletions
indra/viewer_components/updater/llupdatechecker.cpp
with
7 additions
and
3 deletions
indra/viewer_components/updater/llupdatechecker.cpp
+
7
−
3
View file @
a2a9161e
...
@@ -26,7 +26,9 @@
...
@@ -26,7 +26,9 @@
#include
"linden_common.h"
#include
"linden_common.h"
#include
<boost/format.hpp>
#include
<boost/format.hpp>
#include
"llhttpclient.h"
#include
"llhttpclient.h"
#include
"llsd.h"
#include
"llupdatechecker.h"
#include
"llupdatechecker.h"
#include
"lluri.h"
class
LLUpdateChecker
::
Implementation
:
class
LLUpdateChecker
::
Implementation
:
...
@@ -137,8 +139,10 @@ void LLUpdateChecker::Implementation::error(U32 status, const std::string & reas
...
@@ -137,8 +139,10 @@ void LLUpdateChecker::Implementation::error(U32 status, const std::string & reas
std
::
string
LLUpdateChecker
::
Implementation
::
buildUrl
(
std
::
string
const
&
host
,
std
::
string
channel
,
std
::
string
version
)
std
::
string
LLUpdateChecker
::
Implementation
::
buildUrl
(
std
::
string
const
&
host
,
std
::
string
channel
,
std
::
string
version
)
{
{
static
boost
::
format
urlFormat
(
"%s/version/%s/%s"
);
LLSD
path
;
urlFormat
%
host
%
channel
%
version
;
path
.
append
(
"version"
);
return
urlFormat
.
str
();
path
.
append
(
channel
);
path
.
append
(
version
);
return
LLURI
::
buildHTTP
(
host
,
path
).
asString
();
}
}
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