Commit 8a19d90b authored by mikeytown2's avatar mikeytown2

#1055736: Kill cached url for external redirects.

parent 6f0ad4e3
......@@ -585,8 +585,10 @@ function boost_redirect_handler($destination) {
boost_cache_kill_url($urls);
return;
}
// Bail out if redirect is not to the same domain
// Redirect is not to the same domain
elseif (strcmp($new_parts['host'], $current_parts['host']) != 0) {
//watchdog('boost-redirect', 'redirect is not to the same domain' . str_replace(' ', '    ', nl2br(htmlentities(print_r(array($debug), TRUE)))));
boost_cache_kill_url($urls);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment