Ignoring base tag after post
问题 On Chrome I'm getting an error Refused to execute a JavaScript script. Source code of script found within request. after posting data that contains the name of the domain (also note the lack of javascript on either page) . badpage1.html: <form action="/badpage2.html" method="post"> <input type="hidden" name="name" value="href=%22http://www.w3.org/%22"/> <input type="submit" name="submit"/> </form> badpage2.html: <!DOCTYPE html> <html> <head> <base href="http://www.w3.org/"/> </head> <body>