Report question

Question: Rewriting HTTP url to HTTPS using regular expression and javascript