Reintroduce to_referer(), redirect() does not work with get_referer()
This commit is contained in:
@@ -112,6 +112,11 @@ struct request_t {
|
||||
*/
|
||||
char* (*get_referer)(request_t *this);
|
||||
|
||||
/**
|
||||
* Redirect back to the referer.
|
||||
*/
|
||||
void (*to_referer)(request_t *this);
|
||||
|
||||
/**
|
||||
* Set a template value.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user