we have a sharepoint 2010 webapplication which is extended for anonymous access.
Inside the company we use
http://A (dns record is not public, it works only inside the company)
From outside it's url
http://B
in a content editor webpart when you put this html
<span style="background-image:url('/assets/23.jpg');width:100px;height:20px">...</span>
url portion changes and becomes
<span style="background-image:url('http://A/assets/23.jpg');width:100px;height:20px">...</span>
when you publish this content anonymous users can't access this background-image url.
There are around ~3000 pages like this. I know i can use content link of content editor webpart but this is not the case for now.
I have to find a way to stop content editor webpart changes the relative path to absolute path.