<font color='black' size='2' face='arial'>Hi,
<div><br>
</div>
<div>We are using OpenCMS v 8.0.2 and have a problem using protocol relative URLs in img src attributes. See http://www.paulirish.com/2010/the-protocol-relative-url/</div>
<div><br>
</div>
<div>For example, if we enter the following in an html editor within OpenCMS:</div>
<div><br>
</div>
<div><img src="//images.domain.com/folder/file.jpg/></div>
<div><br>
</div>
<div>when we save the page and re-open it, the link is transformed to:</div>
<div><br>
</div>
<div>
<div><img src="/folder/file.jpg/></div>
</div>
<div><br>
</div>
<div>images.domain.com is a domain that is not, in any way, related to our OpenCMS instance.</div>
<div><br>
</div>
<div>We need to use protocol relative URLs as our page may be http or https and we need to host our images on another domain from the one managed in OpenCMS.</div>
<div><br>
</div>
<div>Is there any way, through configuration, that we can stop this happening? Failing that, can someone point us at the source code where this replacement may be happening, so that we can try to change this behaviour ourselves?</div>
<div><br>
</div>
<div>Thanks very much,</div>
<div><br>
</div>
<div>Richard Hardy.</div>
<div><br>
</div>
</font>