if (p.first) {
ifstream infile(p.second);
if (!infile.fail()) {
- const char* res = mlp.run(infile);
+ const char* res = mlp.run(infile,props);
if (res) {
r->content_type = ap_psprintf(r->pool, "text/html");
ap_send_http_header(r);
// Make sure this session is still valid.
RPCError* status = NULL;
- ShibMLP markupProcessor(application);
+ ShibMLP markupProcessor;
markupProcessor.insert("requestURL", targeturl);
try {
return SERVER_ERROR;
}
- ShibMLP markupProcessor(application);
+ ShibMLP markupProcessor;
markupProcessor.insert("requestURL", targeturl);
// Process SHIRE request
return HTTP_FORBIDDEN;
}
- ShibMLP markupProcessor(application);
+ ShibMLP markupProcessor;
markupProcessor.insert("requestURL", ap_construct_url(r->pool,r->unparsed_uri,r));
return shib_error_page(r, application, "access", markupProcessor);
}