current_url gets url from http_referer if available