replacement does not accept blank/spaces
Hi, I am playing arround with the example:
loadable_modules /usr/local/
ecap_enable on
ecap_service ecapModifier respmod_precache \
uri=
victim=the \
replacement=a
adaptation_access ecapModifier allow all
if I set something like this: replacement=a a (a string with a space) I get a malformed adaptation service configuration error when restarting Squid.
Any clue about how to fix this issue.
On the other hand the example with replacement-src, inject/replace the content of the file on top of the victim text.
Is there any way to doit the other way arround, I mean inject/replace the contect of the file AFTER the victim test.?
I have been reviwing the file adapter_
const std::string Adapter:
if (!input) {
}
buf << input.rdbuf(); // possibly slow but definitely simple
if (input.bad()) {
}
return buf.str(); // may be empty
}
Could you please give me a clue about how to modify the fuction to append the contect of the file fname AFTER the victim string.
Thanks in advance and sorry my poor english. I am Spanish ;)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask JBelinchon for more information if necessary.