R# should recognize protocol matching in cshtml and stylesheets

I believe the following is perfectly valid:

    background: #F9F8F3 url("//yourdomain.com/logo.png") repeat-x left top;

in a stylesheet and will match the protocol (http or https) based on the session. R# gives an error: "Path not resolved"

In addition:

<link href="//yourdomain.com/my.css" rel="stylesheet" type="text/css" />


should also be valid using protocol matching in razor views.

Thanks,

Hal

Please sign in to leave a comment.