aspnet / BrowserLink

Browser Link loader for Visual Studio integration
Apache License 2.0
17 stars 21 forks source link

BrowserLink ignores protocol of underlying site #6

Closed blowdart closed 9 years ago

blowdart commented 9 years ago

If you enable https within Visual Studio for your asp.net site (for example to test oauth logins) browser link's script injection injects a script line using the http protocol.

<script type="text/javascript" src="http://localhost:3031/8faedd6199b249ac8f39b8793dfa1429/browserLink" async="async"></script>

This causes mixed content warnings in secured browsers and won't run.

Browserlink should listen on https (borrowing the IIS Express cert for localhost), detecting the protocol on the request, and using https as appropriate.

jodavis commented 9 years ago

This is on the backlog for Browser Link. TFS #120009.