[wpkg-users] Strange behaviour when selecting hosts
Rainer Meier
r.meier at wpkg.org
Fri Aug 21 15:24:12 CEST 2009
Hi Lukasz,
Lukasz Zalewski wrote:
> Little follow up,
> from the log file I get the following
> Hosts file contains 9
> hosts:|.+|ityyy\|itzzz|it14[789]|it1[56789][123456789]|it2[123456789][123456789]|it07[89]|it1[123][123456789]|it14[123456]|138.
>
> 37.94.+
>
> it seems like there is escape character \ between or symbol separating
> ityyy and itzzz. Would that be the cause of the problem or is this just
> for display purposes?
I did not yet had time to have a deep look at your report. I will as soon as
possible.
The pipe character "|" is escaped in the log file since multi-line comments are
concatenated to one line separating spaced by pipes. So if the string (your host
definition in this case) contain the pipe character it's escaped by WPKG so
external parsers know the difference between a line-feed and the pipe. DOn't
worry, wpkg.js is still using your characters as you entered it.
br,
Rainer
More information about the wpkg-users
mailing list