Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
71fb23c8
Commit
71fb23c8
authored
Dec 08, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: do not attempt to quote a binary tag if no payload was found
parent
4e95320a
Pipeline
#89
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
format.c
src/format.c
+1
-1
No files found.
src/format.c
View file @
71fb23c8
...
...
@@ -800,7 +800,7 @@ void
format_SLT
(
const
tx_t
*
tx
,
const
arg_t
*
args
,
char
**
s
,
size_t
*
len
)
{
format_slt
(
tx
,
args
->
tag
,
args
->
hdr_idx
,
args
->
fld
,
s
,
len
);
if
(
VSL_tagflags
[
args
->
tag
]
&
SLT_F_BINARY
)
{
if
(
VSL_tagflags
[
args
->
tag
]
&
SLT_F_BINARY
&&
*
s
!=
NULL
&&
*
len
>
0
)
{
VSB_clear
(
scratch
);
VSB_quote
(
scratch
,
*
s
,
(
int
)
*
len
,
0
);
VSB_finish
(
scratch
);
...
...
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