be allowed to request.
DOC_END
-NAME: url_rewrite_extras format
+NAME: url_rewrite_extras
TYPE: TokenOrQuotedString
LOC: Config.redirector_extras
DEFAULT: "%>a/%>A %un %>rm myip=%la myport=%lp"
By default, a StoreID helper is not used.
DOC_END
-NAME: store_id_extras format
+NAME: store_id_extras
TYPE: TokenOrQuotedString
LOC: Config.storeId_extras
DEFAULT: "%>a/%>A %un %>rm myip=%la myport=%lp"
if (entry->defaults.preset.size() && entry->defaults.preset.front().compare("none") != 0) {
// Display DEFAULT: line(s)
for (LineList::const_iterator l = entry->defaults.preset.begin(); l != entry->defaults.preset.end(); ++l) {
- snprintf(buf, sizeof(buf), "%s %s", entry->name.c_str(), gen_quote_escape(*l));
+ snprintf(buf, sizeof(buf), "%s %s", entry->name.c_str(), l->c_str());
def.push_back(buf);
}
} else if (entry->defaults.if_none.size()) {
// Display DEFAULT_IF_NONE: line(s)
for (LineList::const_iterator l = entry->defaults.if_none.begin(); l != entry->defaults.if_none.end(); ++l) {
- snprintf(buf, sizeof(buf), "%s %s", entry->name.c_str(), gen_quote_escape(*l));
+ snprintf(buf, sizeof(buf), "%s %s", entry->name.c_str(), l->c_str());
def.push_back(buf);
}
}
}
if (Config.redirector_extras) {
- redirectorExtrasFmt = new ::Format::Format("redirecor_extras");
+ redirectorExtrasFmt = new ::Format::Format("url_rewrite_extras");
(void)redirectorExtrasFmt->parse(Config.redirector_extras);
}
if (Config.storeId_extras) {
- storeIdExtrasFmt = new ::Format::Format("storeId_extras");
+ storeIdExtrasFmt = new ::Format::Format("store_id_extras");
(void)storeIdExtrasFmt->parse(Config.storeId_extras);
}