projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8812a62
)
Don't go beyond end of string for quoted literals
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Jul 2013 14:43:27 +0000
(16:43 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Jul 2013 14:43:27 +0000
(16:43 +0200)
src/filter_http_rewrite.cpp
patch
|
blob
|
history
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)