This code considers one or more leading wildcard characters (*) as a special case in the Agent code. We push an additional directive to the directives_ vector in the Agent::Allow and Agent::Disallow functions which is the result of evaluating the input query stripped of leading ''s. That is, we evaluate e.g. `Disallow: /testasDisallow: /testandDisallow: /*/test`.
This code considers one or more leading wildcard characters (
*
) as a special case in theAgent
code. We push an additional directive to thedirectives_
vector in theAgent::Allow
andAgent::Disallow
functions which is the result of evaluating the input query stripped of leading ''s. That is, we evaluate e.g. `Disallow: /testas
Disallow: /testand
Disallow: /*/test`.Issue report here: https://github.com/seomoz/rep-cpp/issues/34