title: How to correctly redirect a URL which does NOT start with HTTP or HTTPS protocols?
body: <p>I am overwriting the <code>HttpServletResponseWrapper.sendRedirect()</code> method. Normally, a redirect url will start with <code>http</code> or <code>https</code>. But we do encounter some URLs like this: </p>
  
  <p><code>//www.google.com</code>.</p>
  
  <p>This URL works when you assign this url to <code>window.location</code> in js. However, it would fail if we try to redirect this URL. Because it will always consider it as a relative path.</p>
  
  <p>Do you know how to correctly redirect a URL like this?</p>