" <response verbose=\"1\">\n"
" <rule name=\"null\"/>\n"
" <rule name=\"url\">\n"
+ " <rewrite from='foo' to='bar'/>\n"
" <rewrite from='"
"(?<proto>https?://)(?<host>[^/?# "'>]+)/(?<path>[^ "'>]+)'\n"
" to='${proto}${pxhost}/${pxpath}/${host}/${path}' />\n"
"}"
"</style>"
"</head>"
- "<script>var jslink=\"http://targetsite/webservice.xml\";</script>"
+ "<script>var jslink=\"http://targetsite/webservice.xml\";"
+ "var some=foo;"
+ "</script>"
"<body>"
"<p>Welcome to our website. It doesn't make it easy to get pro"
"xified"
const char *resp_expected =
"HTTP/1.1 200 OK\r\n"
- "Content-Length: 520\r\n"
+ "Content-Length: 533\r\n"
"Content-Type: text/html\r\n"
"Link: <http://proxyhost/proxypath/targetsite/file.xml>; rel=absolute\r\n"
"Link: </dir/file.xml>; rel=relative\r\n"
"}"
"</style>"
"</head>"
- "<script>var jslink=\"http://proxyhost/proxypath/targetsite/webservice.xml\";</script>"
+ "<script>var jslink=\"http://proxyhost/proxypath/targetsite/webservice.xml\";"
+ "var some=bar;"
+ "</script>"
"<body>"
"<p>Welcome to our website. It doesn't make it easy to get pro"
"xified"