Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
3c801bcf
Commit
3c801bcf
authored
8 years ago
by
Daniele Kruse
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a comment and fixed a bug in the frontend response formatting
parent
e0dd076e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmdline/CTACmdMain.cpp
+1
-7
1 addition, 7 deletions
cmdline/CTACmdMain.cpp
xroot_plugins/XrdCtaFile.cpp
+124
-49
124 additions, 49 deletions
xroot_plugins/XrdCtaFile.cpp
xroot_plugins/XrdCtaFile.hpp
+1
-1
1 addition, 1 deletion
xroot_plugins/XrdCtaFile.hpp
with
126 additions
and
57 deletions
cmdline/CTACmdMain.cpp
+
1
−
7
View file @
3c801bcf
...
...
@@ -53,14 +53,8 @@ void replaceAll(std::string& str, const std::string& from, const std::string& to
}
/**
* Encodes a string in base 64 and replaces sla
tc
hes ('/') in the result
* Encodes a string in base 64 and replaces sla
s
hes ('/') in the result
* with underscores ('_').
*
* Need to replace slashes ('/') with underscores ('_') because xroot removes
* consecutive slashes, and the cryptopp base64 algorithm may produce
* consecutive slashes. This is solved in cryptopp-5.6.3 (using
* Base64URLEncoder instead of Base64Encoder) but we currently have
* cryptopp-5.6.2. To be changed in the future...
*
* @param msg string to encode
* @return encoded string
...
...
This diff is collapsed.
Click to expand it.
xroot_plugins/XrdCtaFile.cpp
+
124
−
49
View file @
3c801bcf
This diff is collapsed.
Click to expand it.
xroot_plugins/XrdCtaFile.hpp
+
1
−
1
View file @
3c801bcf
...
...
@@ -170,7 +170,7 @@ protected:
* @param responseTable The response 2-D matrix
* @return the response string properly formatted in a table
*/
std
::
string
formatResponse
(
const
std
::
vector
<
std
::
vector
<
std
::
string
>>
&
responseTable
);
std
::
string
formatResponse
(
const
std
::
vector
<
std
::
vector
<
std
::
string
>>
&
responseTable
,
const
bool
withHeader
);
/**
* Returns a string representation of the time
...
...
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