flaght / google-url

Automatically exported from code.google.com/p/google-url
Other
0 stars 0 forks source link

GURL::SchemeIsSecure() doesn't treat wss:// as secure scheme #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For following codes:

  // If the scheme indicates a secure connection
  bool SchemeIsSecure() const {
    return SchemeIs("https") ||
        (SchemeIsFileSystem() && inner_url() && inner_url()->SchemeIsSecure());
  }

Scheme wss:// is not checked, shouldn't it also be treated as secure scheme?

Original issue reported on code.google.com by lyonp...@gmail.com on 27 Jun 2012 at 9:37