list separator. ; can be any non-alphanumeric
character.
+ %% The percent sign. Useful for helpers which need
+ an unchanging input format.
+
In addition to the above, any string specified in the referencing
acl will also be included in the helper request line, after the
specified formats (see the "acl external" directive)
#endif
EXT_ACL_EXT_LOG,
EXT_ACL_TAG,
+ EXT_ACL_PERCENT,
EXT_ACL_END
} type;
external_acl_format *next;
format->type = _external_acl_format::EXT_ACL_EXT_LOG;
else if (strcmp(token, "%TAG") == 0)
format->type = _external_acl_format::EXT_ACL_TAG;
+ else if (strcmp(token, "%%") == 0)
+ format->type = _external_acl_format::EXT_ACL_PERCENT;
else {
debugs(0,0, "ERROR: Unknown Format token " << token);
self_destruct();
case _external_acl_format::EXT_ACL_TAG:
str = request->tag.termedBuf();
break;
+ case _external_acl_format::EXT_ACL_PERCENT:
+ str = "%";
+ break;
case _external_acl_format::EXT_ACL_UNKNOWN:
case _external_acl_format::EXT_ACL_END: