I've just done a test, something someone said in another post made me think.
When entering an image using the XStandard editor, there is no leading slash, so image source URLs are something like:
...but when Joomla! renders this page as an Article a leading slash is automatically added (somehow), e.g. like the following:
This is fine when system cache is off and the first time you visit a page (or rather the first time that page is visited) but once this has been cached and you reload the page, all images are broken.
I've just gone into an Article and manually added leading slashes to 6 image source URLs and then turned system cache on. After visiting the page and then refreshing, would you believe it, those 6 images load fine but the other 30 odd do not.
As this is the default action from the XStandard editor, you can't expect people to have to manually change their code every time they insert an image, so would suggest that this is a bug that needs fixing. I guess it has something to do with the "base" value of each page?Correction to my first post:
I was muddling up links and image paths in my first post. It looks like this bug is also breaking links without a leading slash and it is in fact these that are getting the section and category automatically added to them. This is weird because the links are actually to images, so the section and category that is getting put into the link URL is that of the Article you are viewing.
Surely other people have experienced this? It can't just be me doing something wrong!