Github user SamPlacette commented on the pull request:

    https://github.com/apache/cordova-weinre/pull/4#issuecomment-53971290
  
    Thank you for the update @pmuellr .
    
    @srescio thanks for commenting on the issue. In web development there is a 
common use case for omitting the scheme in a URL altogether to work around 
domain-based security restrictions implemented in the browser. A URL without a 
scheme (e.g., "//my.domain.com/resource") will resolve to an HTTP url on a page 
loaded over HTTP, and an HTTPS url for a page loaded over HTTPS. This type of 
reference is called a "network-path reference", or sometimes a 
"protocol-relative URL". You can read more about it at 
http://www.paulirish.com/2010/the-protocol-relative-url/ , or see the original 
spec at http://tools.ietf.org/html/rfc3986#section-4.2. The change in the pull 
request should make this usage possible.
    
    Thanks
    Sam


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to