Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
14f7489e
Commit
14f7489e
authored
Aug 21, 2019
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting
parent
61f3da06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
libcaf_core/caf/detail/append_percent_encoded.hpp
libcaf_core/caf/detail/append_percent_encoded.hpp
+2
-1
libcaf_core/src/uri.cpp
libcaf_core/src/uri.cpp
+1
-2
No files found.
libcaf_core/caf/detail/append_percent_encoded.hpp
View file @
14f7489e
...
@@ -26,7 +26,8 @@ namespace detail {
...
@@ -26,7 +26,8 @@ namespace detail {
// Escapes all reserved characters according to RFC 3986 in `x` and
// Escapes all reserved characters according to RFC 3986 in `x` and
// adds the encoded string to `str`.
// adds the encoded string to `str`.
void
append_percent_encoded
(
std
::
string
&
str
,
string_view
x
,
bool
is_path
=
false
);
void
append_percent_encoded
(
std
::
string
&
str
,
string_view
x
,
bool
is_path
=
false
);
}
// namespace detail
}
// namespace detail
}
// namespace caf
}
// namespace caf
libcaf_core/src/uri.cpp
View file @
14f7489e
...
@@ -121,8 +121,7 @@ std::string to_string(const uri::authority_type& x) {
...
@@ -121,8 +121,7 @@ std::string to_string(const uri::authority_type& x) {
},
},
[
&
](
const
std
::
string
&
host
)
{
[
&
](
const
std
::
string
&
host
)
{
detail
::
append_percent_encoded
(
str
,
host
);
detail
::
append_percent_encoded
(
str
,
host
);
}
});
);
visit
(
f
,
x
.
host
);
visit
(
f
,
x
.
host
);
if
(
x
.
port
!=
0
)
{
if
(
x
.
port
!=
0
)
{
str
+=
':'
;
str
+=
':'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment