Some html resources redirects by using the <meta> http-equiv attribute in the html header (a kind of "soft 301"). Currently, such redirects seems to escape URL rewriting, resulting in redirection to the live web.
A couple of examples encountered have the following pattern within html <head>:
<meta http-equiv="refresh" content="s; URL=<url>">
(where s is the number of seconds the browser will wait before refreshing and navigating to the URL).
To avoid redirection to the live web, the URL value inside the content attribute (after "s;) needs to be rewritten
(should this happen in HtmlParserUrlRewriter.java or somewhere else?)
For reference, MDN's description of the <meta> http-euqiv attribute