projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't go beyond end of string for quoted literals
[metaproxy-moved-to-github.git]
/
src
/
filter_http_rewrite.cpp
diff --git
a/src/filter_http_rewrite.cpp
b/src/filter_http_rewrite.cpp
index
5e3cfab
..
97c0755
100644
(file)
--- a/
src/filter_http_rewrite.cpp
+++ b/
src/filter_http_rewrite.cpp
@@
-636,6
+636,8
@@
void yf::HttpRewrite::Content::quoted_literal(
{
if (cp[-1] != '\\' && *cp == m)
break;
+ if (*cp == '\n')
+ break;
cp++;
}
if (!*cp)